diff --git a/launcher/ui/main.qml b/launcher/ui/main.qml index 3974842..dd91efd 100644 --- a/launcher/ui/main.qml +++ b/launcher/ui/main.qml @@ -84,6 +84,12 @@ Kirigami.ApplicationWindow { function onGameClosed() { Qt.callLater(Qt.quit) } + + function onShowNewsChanged() { + // workaround annoying Qt layouting bug + // TODO: see if this changed in Qt6 + pageStack.layers.replace('qrc:/ui/Pages/MainPage.qml') + } } Component.onCompleted: checkSetup()