From 40c3a5138c75ffa2370718747f05819acd957cdb Mon Sep 17 00:00:00 2001 From: Bart De Vries Date: Fri, 10 Feb 2023 22:19:49 +0100 Subject: [PATCH] Ensure that currentPage is set on first run --- src/qml/main.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qml/main.qml b/src/qml/main.qml index 81d2ffe1..5373483f 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -55,7 +55,10 @@ Kirigami.ApplicationWindow { case "FeedListPage": return "qrc:/FeedListPage.qml"; case "DownloadListPage": return "qrc:/DownloadListPage.qml"; case "SettingsPage": return "qrc:/Settings/SettingsPage.qml"; - default: return "qrc:/FeedListPage.qml"; + default: { + currentPage = "FeedListPage"; + return "qrc:/FeedListPage.qml"; + } } } function pushPage(page) {