diff --git a/gui/Dashboard.qml b/gui/Dashboard.qml index b78908c..0c2e90b 100644 --- a/gui/Dashboard.qml +++ b/gui/Dashboard.qml @@ -4,12 +4,11 @@ import QtQuick.Layouts ColumnLayout { - Item + anchors.top: TopBar.bottom + Rectangle { - Component.onCompleted: - { - appLoader.source = "firststart.qml" - appLoader.window.title = "pyqcrm" - } + color: "blue" + Layout.fillHeight: true + Layout.fillWidth: true } } diff --git a/gui/main.qml b/gui/main.qml index 2abab12..1cf3ae3 100644 --- a/gui/main.qml +++ b/gui/main.qml @@ -20,7 +20,6 @@ ApplicationWindow { rightMargin: 9 leftMargin: 9 - } visible: bad_config? false: true @@ -44,7 +43,7 @@ ApplicationWindow } - source: bad_config? "firststart.qml": "test.qml" + source: bad_config? "firststart.qml": "Dashboard.qml" property alias window: appWindow }