From 01d961086c1d175732c597dc9acdba7cc4cd2d26 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 25 Nov 2017 23:33:33 +0100 Subject: Refresh display if a dive site was edited Calls MainWindow::refreshDisplay() if a dive site was edited so that the filter lists are updated. The old call to updateDiveInfo() was removed because it is call implicitly in MainWindow::refreshDisplay() anyway. Fixes #675. Requested-by: Stefan Fuchs Signed-off-by: Berthold Stoeger --- desktop-widgets/tab-widgets/maintab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index 707aa2f2a..d5a78a269 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -386,7 +386,7 @@ void MainTab::showLocation() // has a parameter on it's definition it didn't worked on the signal slot connection. void MainTab::refreshDiveInfo() { - updateDiveInfo(); + MainWindow::instance()->refreshDisplay(); } void MainTab::updateDepthDuration() -- cgit v1.2.3-70-g09d2