mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Correctly set up the Planner state
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
57e938d040
commit
c69aab04f4
1 changed files with 2 additions and 2 deletions
|
@ -56,11 +56,11 @@ MainWindow::MainWindow() : QMainWindow(),
|
||||||
|
|
||||||
PlannerSettingsWidget *plannerSettings = new PlannerSettingsWidget();
|
PlannerSettingsWidget *plannerSettings = new PlannerSettingsWidget();
|
||||||
DivePlannerWidget *plannerWidget = new DivePlannerWidget();
|
DivePlannerWidget *plannerWidget = new DivePlannerWidget();
|
||||||
//DivePlannerDetails *plannerDetails = new DivePlannerDetails();
|
PlannerDetails *plannerDetails = new PlannerDetails();
|
||||||
|
|
||||||
registerApplicationState("Default", mainTab, diveListView, profileWidget, globe );
|
registerApplicationState("Default", mainTab, diveListView, profileWidget, globe );
|
||||||
registerApplicationState("AddDive", mainTab, diveListView, profileWidget, globe );
|
registerApplicationState("AddDive", mainTab, diveListView, profileWidget, globe );
|
||||||
registerApplicationState("PlanDive", plannerWidget, plannerSettings, profileWidget, globe );
|
registerApplicationState("PlanDive", plannerWidget, plannerSettings, profileWidget, plannerDetails );
|
||||||
|
|
||||||
ui.multiFilter->hide();
|
ui.multiFilter->hide();
|
||||||
// what is a sane order for those icons? we should have the ones the user is
|
// what is a sane order for those icons? we should have the ones the user is
|
||||||
|
|
Loading…
Add table
Reference in a new issue