Merge remote-tracking branch 'origin/small-fixes' into landing-silo

This commit is contained in:
Jenkins 2018-10-18 12:10:24 +02:00
commit 7a868fe54d
2 changed files with 7 additions and 3 deletions

View File

@ -40,7 +40,7 @@ ApplicationWindow {
property int currentMainViewIndex: 0
property bool showHiddenOptions: false
property int cloudEnvironment: 0
property bool showConnectionTabs: app.hasOwnProperty("industrialSetup") && app.industrialSetup
property bool showConnectionTabs: false
property int tabCount: 1
}
@ -236,9 +236,9 @@ ApplicationWindow {
page = "GarageGateDevicePage.qml";
} else if (interfaceList.indexOf("light") >= 0) {
page = "LightDevicePage.qml";
} else if (interfaceList.indexOf("extendedshutter") >= 0 ) {
} else if (interfaceList.indexOf("shutter") >= 0 || interfaceList.indexOf("blind") >= 0) {
page = "ShutterDevicePage.qml";
} else if (interfaceList.indexOf("extendedawning") >= 0) {
} else if (interfaceList.indexOf("awning") >= 0) {
page = "AwningDevicePage.qml";
} else if (interfaceList.indexOf("notifications") >= 0) {
page = "NotificationsDevicePage.qml";

View File

@ -15,6 +15,10 @@ Item {
color: Material.background
}
function handleCloseEvent(close) {
swipeView.currentItem.handleCloseEvent(close)
}
ListModel {
id: tabModel