1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02: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
left: parent.left
}
onChangeTab: pageLoader.setSource("qrc:/qml/Components/"+name+".qml")
onChangeTab: {
pageLoader.setSource("qrc:/qml/Components/"+name+".qml")
sidebar.state = "inactive"
}
}
}