1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 16:32:33 +02:00

Restore reset effect from minimize

This commit is contained in:
Elias Steurer 2020-12-26 21:18:19 +01:00
parent 7e204d4cb4
commit 5019070aee

View File

@ -27,6 +27,11 @@ ApplicationWindow {
title: "ScreenPlay Alpha - 0.13.0"
minimumHeight: 450
minimumWidth: 1050
onVisibilityChanged: {
if (window.visibility === 2) {
ScreenPlay.installedListModel.reset()
}
}
// Partial workaround for
// https://bugreports.qt.io/browse/QTBUG-86047
@ -80,8 +85,11 @@ ApplicationWindow {
}
function switchPage(name) {
if (nav.currentNavigationName === name)
if (nav.currentNavigationName === name){
if(name === "Installed")
ScreenPlay.installedListModel.reset()
return
}
if (name === "Workshop") {
if (!ScreenPlay.settings.steamVersion) {