diff options
-rw-r--r-- | src/mobile/qml/Main.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mobile/qml/Main.qml b/src/mobile/qml/Main.qml index 2a156b9..6fc152d 100644 --- a/src/mobile/qml/Main.qml +++ b/src/mobile/qml/Main.qml @@ -161,7 +161,11 @@ Rectangle { // then to true on start up causing a cascade misbehaviour, the workaround // is to set the state of the root element on Component.onCompleted. // state: "favorites" - Component.onCompleted: state = "favorites" + Component.onCompleted: { + state = "favorites"; + if (!BookmarkModel.count) + urlInputPanel.showForNewTab(); + } states: [ State { |