mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-14 14:37:24 -04:00
Fixes the wallet creation height dialog
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import QtQuick 2.7
|
import QtQuick 2.7
|
||||||
import QtQuick.Layouts 1.1
|
import QtQuick.Layouts 1.1
|
||||||
import QtQuick.Controls 2.0
|
import QtQuick.Controls 2.0
|
||||||
|
import QtQuick.Dialogs 1.2
|
||||||
|
|
||||||
import "../../js/Utils.js" as Utils
|
import "../../js/Utils.js" as Utils
|
||||||
import "../../version.js" as Version
|
import "../../version.js" as Version
|
||||||
@@ -122,10 +123,12 @@ Rectangle {
|
|||||||
|
|
||||||
MoneroComponents.TextBlock {
|
MoneroComponents.TextBlock {
|
||||||
id: restoreHeightText
|
id: restoreHeightText
|
||||||
|
Layout.fillWidth: true
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
font.pixelSize: 14
|
font.pixelSize: 14
|
||||||
|
font.bold: true
|
||||||
property var style: "<style type='text/css'>a {cursor:pointer;text-decoration: none; color: #FF6C3C}</style>"
|
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: {
|
onLinkActivated: {
|
||||||
inputDialog.labelText = qsTr("Set a new restore height:") + translationManager.emptyString;
|
inputDialog.labelText = qsTr("Set a new restore height:") + translationManager.emptyString;
|
||||||
inputDialog.inputText = currentWallet ? currentWallet.walletCreationHeight : "0";
|
inputDialog.inputText = currentWallet ? currentWallet.walletCreationHeight : "0";
|
||||||
|
|||||||
Reference in New Issue
Block a user