aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.qml b/main.qml
index b1e58663..390a9dfb 100644
--- a/main.qml
+++ b/main.qml
@@ -748,6 +748,12 @@ ApplicationWindow {
currentWallet.startRefresh();
informationPopup.title = qsTr("Daemon failed to start") + translationManager.emptyString;
informationPopup.text = error + ".\n\n" + qsTr("Please check your wallet and daemon log for errors. You can also try to start %1 manually.").arg((isWindows)? "monerod.exe" : "monerod")
+ if (middlePanel.advancedView.miningView.stopMiningEnabled == true) {
+ walletManager.stopMining()
+ p2poolManager.exit()
+ middlePanel.advancedView.miningView.update()
+ informationPopup.text += qsTr("\n\nExiting p2pool. Please check that port 18083 is available.") + translationManager.emptyString;
+ }
informationPopup.icon = StandardIcon.Critical
informationPopup.onCloseCallback = null
informationPopup.open();