summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 7593caf47..0307b081f 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -132,14 +132,14 @@ MainWindow::MainWindow() : QMainWindow(),
registerApplicationState("EditDive", mainTab, profileContainer, diveListView, globeGps );
registerApplicationState("PlanDive", plannerWidget, profileContainer, plannerSettings, plannerDetails );
registerApplicationState("EditPlannedDive", plannerWidget, profileContainer, diveListView, globeGps );
- registerApplicationState("EditDiveSite", diveSiteEdit, diveSitePictures, diveListView, globeGps);
+ registerApplicationState("EditDiveSite", diveSiteEdit, profileContainer, diveListView, globeGps);
setStateProperties("Default", enabledList, enabledList, enabledList,enabledList);
setStateProperties("AddDive", enabledList, enabledList, enabledList,enabledList);
setStateProperties("EditDive", enabledList, enabledList, enabledList,enabledList);
setStateProperties("PlanDive", enabledList, enabledList, enabledList,enabledList);
setStateProperties("EditPlannedDive", enabledList, enabledList, enabledList,enabledList);
- setStateProperties("EditDiveSite", enabledList, enabledList, disabledList, enabledList);
+ setStateProperties("EditDiveSite", enabledList, disabledList, disabledList, enabledList);
setApplicationState("Default");