mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
DaemonManagerDialog: close dialog when GUI is connected
This commit is contained in:
parent
96cca79b70
commit
d514845e4a
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,7 @@ import QtQuick.Dialogs 1.2
|
||||||
import QtQuick.Layouts 1.1
|
import QtQuick.Layouts 1.1
|
||||||
import QtQuick.Controls.Styles 1.4
|
import QtQuick.Controls.Styles 1.4
|
||||||
import QtQuick.Window 2.0
|
import QtQuick.Window 2.0
|
||||||
|
import moneroComponents.Wallet 1.0
|
||||||
|
|
||||||
import "../components" as MoneroComponents
|
import "../components" as MoneroComponents
|
||||||
|
|
||||||
|
@ -79,6 +80,10 @@ Window {
|
||||||
running: false;
|
running: false;
|
||||||
repeat: true
|
repeat: true
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
|
if (currentWallet.connected() == Wallet.ConnectionStatus_Connected) {
|
||||||
|
running = false;
|
||||||
|
root.close();
|
||||||
|
}
|
||||||
countDown--;
|
countDown--;
|
||||||
if(countDown < 0){
|
if(countDown < 0){
|
||||||
running = false;
|
running = false;
|
||||||
|
|
Loading…
Reference in a new issue