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>
This commit is contained in:
Tomaz Canabrava 2015-06-26 15:21:37 -03:00 committed by Dirk Hohndel
parent 73eceacaed
commit 50bd467723

View file

@ -243,7 +243,7 @@ void MainTab::showDiveSiteSimpleEdit()
SimpleDiveSiteEditDialog dlg(this); SimpleDiveSiteEditDialog dlg(this);
dlg.exec(); dlg.exec();
if (dlg.changed_dive_site) { if (dlg.changed_dive_site) {
qDebug() << "Changed the dive site, paint something yellow."; markChangedWidget(ui.location);
} }
} }