summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-06-26 15:21:37 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-26 18:50:22 -0700
commit50bd467723a7da0b75a014a916701ba7811be58e (patch)
tree41a421764359107a6290ce23a980cbc8b180cef0
parent73eceacaed02632365aae4568c7708a57c8d29b0 (diff)
downloadsubsurface-50bd467723a7da0b75a014a916701ba7811be58e.tar.gz
Dive site rewrite: mark location as changed when a dive site changes
Not sure this is the best approach. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/maintab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index bf68601f1..53c4d6d61 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -243,7 +243,7 @@ void MainTab::showDiveSiteSimpleEdit()
SimpleDiveSiteEditDialog dlg(this);
dlg.exec();
if (dlg.changed_dive_site) {
- qDebug() << "Changed the dive site, paint something yellow.";
+ markChangedWidget(ui.location);
}
}