diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-08-05 13:13:59 +0200 |
|---|---|---|
| committer | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-08-05 13:13:59 +0200 |
| commit | 666203bd0e7fe84abab1704bab08dd5e1a92a142 (patch) | |
| tree | c865b8c47843b83853e7dc4315428685c062a39d | |
| parent | 46ee2e9cc839f71bc6a7152f4b1c24c69e69f5db (diff) | |
| download | monzero-gui-666203bd0e7fe84abab1704bab08dd5e1a92a142.tar.gz monzero-gui-666203bd0e7fe84abab1704bab08dd5e1a92a142.tar.xz monzero-gui-666203bd0e7fe84abab1704bab08dd5e1a92a142.zip | |
Fixes the wallet creation height dialog
| -rw-r--r-- | pages/settings/SettingsInfo.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pages/settings/SettingsInfo.qml b/pages/settings/SettingsInfo.qml index 98e47cf6..4492babe 100644 --- a/pages/settings/SettingsInfo.qml +++ b/pages/settings/SettingsInfo.qml @@ -1,6 +1,7 @@ import QtQuick 2.7 import QtQuick.Layouts 1.1 import QtQuick.Controls 2.0 +import QtQuick.Dialogs 1.2 import "../../js/Utils.js" as Utils import "../../version.js" as Version @@ -122,10 +123,12 @@ Rectangle { MoneroComponents.TextBlock { id: restoreHeightText + Layout.fillWidth: true textFormat: Text.RichText font.pixelSize: 14 + font.bold: true property var style: "<style type='text/css'>a {cursor:pointer;text-decoration: none; color: #FF6C3C}</style>" - text: (currentWallet ? currentWallet.walletCreationHeight : "") + style + qsTr(" <a href='#'> (change)</a>") + translationManager.emptyString + text: (currentWallet ? currentWallet.walletCreationHeight : "") + style + qsTr(" <a href='#'> (Click to change)</a>") + translationManager.emptyString onLinkActivated: { inputDialog.labelText = qsTr("Set a new restore height:") + translationManager.emptyString; inputDialog.inputText = currentWallet ? currentWallet.walletCreationHeight : "0"; |
