diff options
Diffstat (limited to 'qml/main.qml')
-rw-r--r-- | qml/main.qml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/qml/main.qml b/qml/main.qml index a6cc6f1..cd1af50 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -18,12 +18,12 @@ Kirigami.ApplicationWindow { globalDrawer: Kirigami.GlobalDrawer { header: Controls.Switch { - text: "Start IO" + text: "Work offline" onCheckedChanged: { if (checked) { - dcAccounts.startIo() - } else { dcAccounts.stopIo() + } else { + dcAccounts.startIo() } } } @@ -64,6 +64,8 @@ Kirigami.ApplicationWindow { pageStack.replace("qrc:/qml/ConfigurePage.qml", {context: selectedAccount, eventEmitter: eventEmitter}) } } + + dcAccounts.startIo() } onClosing: { |