diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-06-21 14:40:18 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-06-21 14:40:18 -0500 |
| commit | 2c81f1808f656d617ab8e7e8d6520725cbf0086d (patch) | |
| tree | acd42167bb8a71e83a5d5244fdf2085cbcecdbda /LeftPanel.qml | |
| parent | f6a797fcb5548b5074582d2a5e9fcc67b4a0977d (diff) | |
| parent | 68c55270d4b5c717ef546bc97f46155b282f7eb4 (diff) | |
| download | monzero-gui-2c81f1808f656d617ab8e7e8d6520725cbf0086d.tar.gz monzero-gui-2c81f1808f656d617ab8e7e8d6520725cbf0086d.tar.xz monzero-gui-2c81f1808f656d617ab8e7e8d6520725cbf0086d.zip | |
Merge pull request #2222
68c5527 persistentSettings: preserve fiat balance toggle on wallet restart (xiphon)
Diffstat (limited to 'LeftPanel.qml')
| -rw-r--r-- | LeftPanel.qml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml index e8e06805..e8052e6b 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -51,7 +51,6 @@ Rectangle { property alias progressBar : progressBar property alias daemonProgressBar : daemonProgressBar property alias minutesToUnlockTxt: unlockedBalanceLabel.text - property bool fiatBalance: false property int titleBarHeight: 50 property string copyValue: "" Clipboard { id: clipboard } @@ -220,7 +219,7 @@ Rectangle { hoverEnabled: true cursorShape: Qt.PointingHandCursor onClicked: { - fiatBalance = !fiatBalance + persistentSettings.fiatPriceToggle = !persistentSettings.fiatPriceToggle } } } @@ -236,7 +235,7 @@ Rectangle { width: 50 MoneroComponents.TextPlain { - visible: !(fiatBalance && persistentSettings.fiatPriceEnabled) + visible: !(persistentSettings.fiatPriceToggle && persistentSettings.fiatPriceEnabled) id: balanceText themeTransition: false anchors.left: parent.left @@ -309,7 +308,7 @@ Rectangle { MoneroComponents.TextPlain { id: unlockedBalanceText - visible: !(fiatBalance && persistentSettings.fiatPriceEnabled) + visible: !(persistentSettings.fiatPriceToggle && persistentSettings.fiatPriceEnabled) themeTransition: false anchors.left: parent.left anchors.leftMargin: 20 |
