From 33a19328d8a34cc97f39f3726c9f1532742500e1 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 22 Sep 2015 15:23:38 -0300 Subject: Block focus out event The line edit wasn't being properly updated regarding its paint event. Turns out it was because it received a focus out event and then stopped refreshing the paint. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/locationinformation.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/locationinformation.h') diff --git a/qt-ui/locationinformation.h b/qt-ui/locationinformation.h index 6df56f05c..2b41f5276 100644 --- a/qt-ui/locationinformation.h +++ b/qt-ui/locationinformation.h @@ -103,6 +103,7 @@ public: protected: void keyPressEvent(QKeyEvent *ev); + void focusOutEvent(QFocusEvent *ev); void showPopup(); private: DiveLocationFilterProxyModel *proxy; -- cgit v1.2.3-70-g09d2