From d22a135343361a8243beb335ea89d5a9934a9347 Mon Sep 17 00:00:00 2001 From: Sander Kleijwegt Date: Sun, 30 Aug 2015 01:00:22 +0200 Subject: Fix edit & show of divesites for new and existing dives. The UI detects when it should refresh the loction after the user finished editting a divesite. Creating and editting divesites is now working even when the current dive is not saved yet. Signed-off-by: Sander Kleijwegt Signed-off-by: Dirk Hohndel --- qt-ui/maintab.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/maintab.h') diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index eeb19a7c1..26dd3853e 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -52,6 +52,7 @@ public: void initialUiSetup(); bool isEditing(); void updateCoordinatesText(qreal lat, qreal lon); + void refreshDisplayedDiveSite(); void nextInputField(QKeyEvent *event); void showAndTriggerEditSelective(struct dive_components what); virtual bool eventFilter(QObject*, QEvent*); -- cgit v1.2.3-70-g09d2