on xenial help sign in
Check for visible instead open in preview and settingsShown
commita58769f31c8204aa426aaa5a222e187e00f201fd authorAndrea Cimitan <andrea.cimitan@gmail.com> dateMon 18 Aug 2014, 15:50 (12 years ago) parent53f787c
1 file changed+2−2
qml/Dash/GenericScopeView.qml+2−2
qml/Dash/GenericScopeView.qml+2−2
@@ -471,8 +471,8 @@ FocusScope {
471471 readonly property var currentItem: item && item.currentItem || null
472472
473473 property string subPage: ""
474− readonly property bool previewShown: open && subPage == "preview"
475− readonly property bool settingsShown: open && subPage == "settings"
474+ readonly property bool previewShown: visible && subPage == "preview"
475+ readonly property bool settingsShown: visible && subPage == "settings"
476476
477477 function openSubPage(page) {
478478 subPage = page;