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>
This commit is contained in:
Berthold Stoeger 2017-11-25 23:33:33 +01:00 committed by Dirk Hohndel
parent 60677e513b
commit 01d961086c

View file

@ -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()