From f724b7ebf98904a436ab1a9a616ee720b19a54c2 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 16 Mar 2015 10:53:50 -0700 Subject: Don't overwrite the displayed dive in the middle of editing Coming back from a dive site edit we must not call refreshDisplay() or otherwise the edits on the displayed_dive are overwritten. Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'qt-ui') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 9921ac143..b9e0f9877 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -130,7 +130,6 @@ MainWindow::MainWindow() : QMainWindow(), connect(plannerDetails->printPlan(), SIGNAL(pressed()), divePlannerWidget(), SLOT(printDecoPlan())); connect(mainTab, SIGNAL(requestDiveSiteEdit(uint32_t)), this, SLOT(enableDiveSiteEdit(uint32_t))); connect(locationInformation, SIGNAL(informationManagementEnded()), this, SLOT(setDefaultState())); - connect(locationInformation, SIGNAL(informationManagementEnded()), this, SLOT(refreshDisplay())); connect(locationInformation, SIGNAL(informationManagementEnded()), information(), SLOT(showLocation())); #ifdef NO_PRINTING -- cgit v1.2.3-70-g09d2