1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00

Fix sidebar auto close when switching tabs

This commit is contained in:
kelteseth 2017-04-05 13:52:38 +02:00
parent 9e49474960
commit 71ed839495

View File

@ -58,6 +58,9 @@ Window {
right: parent.right right: parent.right
left: parent.left left: parent.left
} }
onChangeTab: pageLoader.setSource("qrc:/qml/Components/"+name+".qml") onChangeTab: {
pageLoader.setSource("qrc:/qml/Components/"+name+".qml")
sidebar.state = "inactive"
}
} }
} }