From 837336dc93b66912d48a3b7a2e8c1991b4d3650f Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 18 May 2021 21:32:07 +0300 Subject: Log if Settings page can't be opened --- qml/ChatlistPage.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qml') diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml index 71e4bbf..587de96 100644 --- a/qml/ChatlistPage.qml +++ b/qml/ChatlistPage.qml @@ -39,6 +39,8 @@ Kirigami.ScrollablePage { if (settingsPageComponent.status == Component.Ready) { let settingsPage = settingsPageComponent.createObject(chatlistPage, {context: chatlistPage.context}) pageStack.layers.push(settingsPage) + } else { + console.log("Can't open Settings page") } } } -- cgit v1.2.3-70-g09d2