From 5ebe3f50921f5b7516640c99b4c18df713839103 Mon Sep 17 00:00:00 2001 From: thotbot Date: Mon, 13 Apr 2020 23:15:14 +0200 Subject: Settings: move Merchant menu entry --- LeftPanel.qml | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'LeftPanel.qml') diff --git a/LeftPanel.qml b/LeftPanel.qml index 74ca6feb..21f1e0a2 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -64,7 +64,6 @@ Rectangle { signal addressBookClicked() signal miningClicked() signal signClicked() - signal merchantClicked() signal accountClicked() function selectItem(pos) { @@ -72,7 +71,6 @@ Rectangle { if(pos === "History") menuColumn.previousButton = historyButton else if(pos === "Transfer") menuColumn.previousButton = transferButton else if(pos === "Receive") menuColumn.previousButton = receiveButton - else if(pos === "Merchant") menuColumn.previousButton = merchantButton else if(pos === "AddressBook") menuColumn.previousButton = addressBookButton else if(pos === "Mining") menuColumn.previousButton = miningButton else if(pos === "TxKey") menuColumn.previousButton = txkeyButton @@ -454,30 +452,6 @@ Rectangle { anchors.leftMargin: 20 } - // ------------- Merchant tab --------------- - - MoneroComponents.MenuButton { - id: merchantButton - visible: appWindow.walletMode >= 2 - anchors.left: parent.left - anchors.right: parent.right - text: qsTr("Merchant") + translationManager.emptyString - symbol: qsTr("U") + translationManager.emptyString - under: receiveButton - onClicked: { - parent.previousButton.checked = false - parent.previousButton = merchantButton - panel.merchantClicked() - } - } - - MoneroComponents.MenuButtonDivider { - visible: merchantButton.present && appWindow.walletMode >= 2 - anchors.left: parent.left - anchors.right: parent.right - anchors.leftMargin: 20 - } - // ------------- History tab --------------- MoneroComponents.MenuButton { -- cgit v1.2.3