Accept / Cancel location edit

Make it possible to cancel or accept the location edit and
get back to the mainwindow default state.

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-02-11 13:58:23 -02:00 committed by Dirk Hohndel
parent 7d66dcd12d
commit 68691c9d6d
5 changed files with 45 additions and 3 deletions

View file

@ -160,6 +160,7 @@ slots:
void on_actionFilterTags_triggered();
void on_actionConfigure_Dive_Computer_triggered();
void enableDiveSiteEdit();
void setDefaultState();
protected:
void closeEvent(QCloseEvent *);