mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Close the dive site edit when accepting/rejecting it
Return to the default mainwindow state when the user accepts or rejects the dive site edit. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1aaa37e511
commit
68053a1150
1 changed files with 3 additions and 0 deletions
|
@ -111,6 +111,9 @@ MainWindow::MainWindow() : QMainWindow(),
|
|||
profileContainer->setLayout(profLayout);
|
||||
|
||||
LocationInformationWidget * diveSiteEdit = new LocationInformationWidget();
|
||||
connect(diveSiteEdit, &LocationInformationWidget::informationManagementEnded,
|
||||
this, &MainWindow::setDefaultState);
|
||||
|
||||
QWidget *diveSitePictures = new QWidget(); // Placeholder
|
||||
|
||||
registerApplicationState("Default", mainTab, profileContainer, diveListView, globeGps );
|
||||
|
|
Loading…
Add table
Reference in a new issue