diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2022-07-08 13:55:24 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2022-07-08 13:55:24 -0400 |
| commit | 160eb8e074996c841302573694c6e1a5b2a44901 (patch) | |
| tree | fc3ce059dd7dd6b3bd3d85fe7f55a1dfd0b13bb6 | |
| parent | 39f0323a8170b6e62eefc61ffe0fd155419b3c0a (diff) | |
| parent | d514845e4a14c5fbe76de5720a45589718adb4fc (diff) | |
| download | monzero-gui-160eb8e074996c841302573694c6e1a5b2a44901.tar.gz monzero-gui-160eb8e074996c841302573694c6e1a5b2a44901.tar.xz monzero-gui-160eb8e074996c841302573694c6e1a5b2a44901.zip | |
Merge pull request #3957
d514845 DaemonManagerDialog: close dialog when GUI is connected (selsta)
| -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; |
