From 1cd9229ae0e01c2e3d7fd81faa566b3a8e02e09e Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 5 May 2020 10:37:02 +0200 Subject: 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 --- desktop-widgets/mainwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets/mainwindow.h') 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(); -- cgit v1.2.3-70-g09d2