do not ask to start daemon if in remote node mode

This commit is contained in:
thotbot
2019-12-16 22:48:35 +00:00
parent 46227bdad0
commit 50cb72656a
3 changed files with 9 additions and 9 deletions

View File

@@ -558,7 +558,7 @@ Rectangle {
id: importKeyImagesButton
text: qsTr("Import key images") + translationManager.emptyString
small: true
visible: appWindow.viewOnly && walletManager.isDaemonLocal(appWindow.currentDaemonAddress)
visible: appWindow.viewOnly && !persistentSettings.useRemoteNode
enabled: pageRoot.enabled
onClicked: {
console.log("Transfer: import key images clicked")
@@ -710,7 +710,7 @@ Rectangle {
function updateStatus() {
var messageNotConnected = qsTr("Wallet is not connected to daemon.");
if(appWindow.walletMode >= 2) messageNotConnected += root.startLinkText;
if(appWindow.walletMode >= 2 && !persistentSettings.useRemoteNode) messageNotConnected += root.startLinkText;
pageRoot.enabled = true;
if(typeof currentWallet === "undefined") {
root.warningContent = messageNotConnected;