Add workaround for AppView breaking after changing language at runtime

This commit is contained in:
Cameron Gutman 2021-03-05 17:44:31 -06:00
commit c330898aeb
2 changed files with 24 additions and 3 deletions

View file

@ -787,6 +787,11 @@ Flickable {
if (!StreamingPreferences.retranslate()) {
ToolTip.show(qsTr("You must restart Moonlight for this change to take effect"), 5000)
}
else {
// Force the back operation to pop any AppView pages that exist.
// The AppView stops working after retranslate() for some reason.
window.clearOnBack = true
}
}
}
}