diff options
Diffstat (limited to 'components/DaemonManagerDialog.qml')
| -rw-r--r-- | components/DaemonManagerDialog.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/DaemonManagerDialog.qml b/components/DaemonManagerDialog.qml index 455277bb..1d7dc0eb 100644 --- a/components/DaemonManagerDialog.qml +++ b/components/DaemonManagerDialog.qml @@ -32,6 +32,7 @@ import QtQuick.Dialogs 1.2 import QtQuick.Layouts 1.1 import QtQuick.Controls.Styles 1.4 import QtQuick.Window 2.0 +import moneroComponents.Wallet 1.0 import "../components" as MoneroComponents @@ -79,6 +80,10 @@ Window { running: false; repeat: true onTriggered: { + if (currentWallet.connected() == Wallet.ConnectionStatus_Connected) { + running = false; + root.close(); + } countDown--; if(countDown < 0){ running = false; |
