diff options
Diffstat (limited to 'components/InputMulti.qml')
| -rw-r--r-- | components/InputMulti.qml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/InputMulti.qml b/components/InputMulti.qml index 6f07dd3a..94ec441d 100644 --- a/components/InputMulti.qml +++ b/components/InputMulti.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -30,26 +30,26 @@ import QtQuick.Controls 2.0 import QtQuick 2.9 import "../js/TxUtils.js" as TxUtils -import "../components" as MoneroComponents +import "../components" as MonzeroComponents TextArea { property int fontSize: 18 property bool fontBold: false - property string fontColor: MoneroComponents.Style.defaultFontColor + property string fontColor: MonzeroComponents.Style.defaultFontColor property bool mouseSelection: true property bool error: false property bool addressValidation: false id: textArea - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name color: fontColor font.pixelSize: fontSize font.bold: fontBold horizontalAlignment: TextInput.AlignLeft selectByMouse: mouseSelection - selectionColor: MoneroComponents.Style.textSelectionColor - selectedTextColor: MoneroComponents.Style.textSelectedColor + selectionColor: MonzeroComponents.Style.textSelectionColor + selectedTextColor: MonzeroComponents.Style.textSelectedColor property int minimumHeight: 100 height: contentHeight > minimumHeight ? contentHeight : minimumHeight @@ -57,7 +57,7 @@ TextArea { onTextChanged: { if(addressValidation){ // js replacement for `RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g }` - if (textArea.text.startsWith("monero:")) { + if (textArea.text.startsWith("monzero:")) { error = false; return; } @@ -69,7 +69,7 @@ TextArea { } } - MoneroComponents.ContextMenu { + MonzeroComponents.ContextMenu { cursorShape: Qt.IBeamCursor onCut: textArea.cut(); onCopy: textArea.copy(); |
