Correctly update the dive when the user edits dive_site

We didn't correctly update the dive site as soon as the
dive_site edit finished, and this time we are actually
correctly updating things using signals instead of calling
the mainwindow for everything.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-07-30 21:32:50 -03:00 committed by Dirk Hohndel
parent 7834341562
commit 9130ff8a97
3 changed files with 11 additions and 0 deletions

View file

@ -63,6 +63,7 @@ public
slots:
void addCylinder_clicked();
void addWeight_clicked();
void refreshDiveInfo();
void updateDiveInfo(bool clear = false);
void acceptChanges();
void rejectChanges();