summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index c2eac0628..bf68601f1 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -241,7 +241,10 @@ void MainTab::setCurrentLocationIndex()
void MainTab::showDiveSiteSimpleEdit()
{
SimpleDiveSiteEditDialog dlg(this);
- int reason = dlg.exec();
+ dlg.exec();
+ if (dlg.changed_dive_site) {
+ qDebug() << "Changed the dive site, paint something yellow.";
+ }
}
void MainTab::enableGeoLookupEdition()