DaemonManagerDialog: close dialog when GUI is connected

This commit is contained in:
selsta 2022-06-28 23:38:06 +02:00
parent 96cca79b70
commit d514845e4a
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -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;