From 689f0415e7e0d47b765b18d370fc6c2cf1edb990 Mon Sep 17 00:00:00 2001 From: "moneromooo.monero" Date: Mon, 7 Nov 2016 12:02:27 +0000 Subject: Report when the GUI is connected to a daemon with mismatched version This will cause various errors confusing to the user, as they stem for the daemon returning replies with missing information, etc. --- LeftPanel.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'LeftPanel.qml') diff --git a/LeftPanel.qml b/LeftPanel.qml index 6aeacdfd..cf2b3722 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -28,6 +28,7 @@ import QtQuick 2.2 import QtGraphicalEffects 1.0 +import moneroComponents.Wallet 1.0 import "components" Rectangle { @@ -356,7 +357,7 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right anchors.bottom: (daemonProgress.visible)? daemonProgress.top : parent.bottom; - connected: false + connected: Wallet.ConnectionStatus_Disconnected } DaemonProgress { -- cgit v1.2.3