diff --git a/ScreenPlay/main.qml b/ScreenPlay/main.qml index 9a73b42e..38a9fcc8 100644 --- a/ScreenPlay/main.qml +++ b/ScreenPlay/main.qml @@ -189,6 +189,14 @@ ApplicationWindow { property bool ignoreWorkshopBanner: false + onSetSidebarActive: { + if(active){ + sidebar.state = "active" + } else { + sidebar.state = "inactive" + } + } + onSetSidebaractiveItem: { if (type === "video") { diff --git a/ScreenPlay/qml/Installed/Installed.qml b/ScreenPlay/qml/Installed/Installed.qml index bf0e98df..d4360ce8 100644 --- a/ScreenPlay/qml/Installed/Installed.qml +++ b/ScreenPlay/qml/Installed/Installed.qml @@ -9,6 +9,7 @@ Item { signal setSidebaractiveItem(var screenId, var type) signal setNavigationItem(var pos) + signal setSidebarActive(var active) property bool refresh: false @@ -146,6 +147,7 @@ Item { } } function onPageChanged(name) { + setSidebarActive(false) if (name === "All") { installedListFilter.sortByRoleType("All") navAll.state = "active"