summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-11-25 23:33:33 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-25 15:34:51 -0800
commit01d961086c1d175732c597dc9acdba7cc4cd2d26 (patch)
treeab08cbd71826445ee5def1da28fb0fded9989115 /desktop-widgets/tab-widgets/maintab.cpp
parent60677e513ba413f89d17038611de5a6f24881eb3 (diff)
downloadsubsurface-01d961086c1d175732c597dc9acdba7cc4cd2d26.tar.gz
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 <sfuchs@gmx.de> Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.cpp')
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp2
1 files changed, 1 insertions, 1 deletions
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()