mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-12 11:13:46 +02:00
Merge pull request #3957
d514845
DaemonManagerDialog: close dialog when GUI is connected (selsta)
This commit is contained in:
commit
160eb8e074
@ -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 New Issue
Block a user