summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-05 10:37:02 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-07 08:43:27 -0700
commit1cd9229ae0e01c2e3d7fd81faa566b3a8e02e09e (patch)
tree3751d8adb01d293fd7e4ab5c22e94aa7a0a88251 /desktop-widgets/mainwindow.h
parentfb6210a99a1eda0f7f7197ed57f3c61a82132dff (diff)
downloadsubsurface-1cd9229ae0e01c2e3d7fd81faa566b3a8e02e09e.tar.gz
desktop: don't update models in MainWindow::refreshDisplay()
The models should now properly reset themselves if data in the core changes. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r--desktop-widgets/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index 683897cd7..ccf6baf22 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -158,7 +158,7 @@ public
slots:
void turnOffNdlTts();
void readSettings();
- void refreshDisplay(bool doRecreateDiveList = true);
+ void refreshDisplay();
void showProfile();
void refreshProfile();
void editCurrentDive();