aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-12-01 23:42:04 -0600
committerluigi1111 <luigi1111w@gmail.com>2022-12-01 23:42:04 -0600
commitef2e711e15b4765e128ca7abddf87f194c6d755a (patch)
treeef4bf0db7c857e8d7b2a61fa000b78d254a50bda /main.qml
parent2ade73386751a03b895b155ecb6596de94cf4f16 (diff)
parent80ade41905cff40eef94e27d39f14f41e887c96d (diff)
downloadmonzero-gui-ef2e711e15b4765e128ca7abddf87f194c6d755a.tar.gz
monzero-gui-ef2e711e15b4765e128ca7abddf87f194c6d755a.tar.xz
monzero-gui-ef2e711e15b4765e128ca7abddf87f194c6d755a.zip
Merge pull request #4047
80ade41 DaemonManager: take dataDir into account when sending cmd (selsta)
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.qml b/main.qml
index abf08edb..8e7c90ef 100644
--- a/main.qml
+++ b/main.qml
@@ -469,7 +469,7 @@ ApplicationWindow {
// If wallet isnt connected, advanced wallet mode and no daemon is running - Ask
if (appWindow.walletMode >= 2 && !persistentSettings.useRemoteNode && !walletInitialized && disconnected) {
- daemonManager.runningAsync(persistentSettings.nettype, function(running) {
+ daemonManager.runningAsync(persistentSettings.nettype, persistentSettings.blockchainDataDir, function(running) {
if (!running) {
daemonManagerDialog.open();
}
@@ -714,7 +714,7 @@ ApplicationWindow {
appWindow.showProcessingSplash(qsTr("Waiting for daemon to stop..."));
}
p2poolManager.exit()
- daemonManager.stopAsync(persistentSettings.nettype, function(result) {
+ daemonManager.stopAsync(persistentSettings.nettype, persistentSettings.blockchainDataDir, function(result) {
daemonStartStopInProgress = 0;
if (splash) {
hideProcessingSplash();
@@ -2141,7 +2141,7 @@ ApplicationWindow {
if (currentWallet) {
handler(!currentWallet.disconnected);
} else {
- daemonManager.runningAsync(persistentSettings.nettype, handler);
+ daemonManager.runningAsync(persistentSettings.nettype, persistentSettings.blockchainDataDir, handler);
}
}
}