mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-08 10:52:04 +02:00
Merge pull request #1785
950ac55
receive: enable advanced option checkbox2 to persist (mmbyday)
This commit is contained in:
commit
c67077e428
1
main.qml
1
main.qml
@ -1019,6 +1019,7 @@ ApplicationWindow {
|
|||||||
property string daemonUsername: ""
|
property string daemonUsername: ""
|
||||||
property string daemonPassword: ""
|
property string daemonPassword: ""
|
||||||
property bool transferShowAdvanced: false
|
property bool transferShowAdvanced: false
|
||||||
|
property bool receiveShowAdvanced: false
|
||||||
property string blockchainDataDir: ""
|
property string blockchainDataDir: ""
|
||||||
property bool useRemoteNode: false
|
property bool useRemoteNode: false
|
||||||
property string remoteNodeAddress: ""
|
property string remoteNodeAddress: ""
|
||||||
|
@ -48,7 +48,6 @@ Rectangle {
|
|||||||
property var model
|
property var model
|
||||||
property var current_address
|
property var current_address
|
||||||
property int current_subaddress_table_index: 0
|
property int current_subaddress_table_index: 0
|
||||||
property bool advancedRowVisible: false
|
|
||||||
property alias receiveHeight: mainLayout.height
|
property alias receiveHeight: mainLayout.height
|
||||||
property alias addressText : pageReceive.current_address
|
property alias addressText : pageReceive.current_address
|
||||||
|
|
||||||
@ -398,9 +397,9 @@ Rectangle {
|
|||||||
RowLayout {
|
RowLayout {
|
||||||
CheckBox2 {
|
CheckBox2 {
|
||||||
id: showAdvancedCheckbox
|
id: showAdvancedCheckbox
|
||||||
checked: false
|
checked: persistentSettings.receiveShowAdvanced
|
||||||
onClicked: {
|
onClicked: {
|
||||||
advancedRowVisible = !advancedRowVisible;
|
persistentSettings.receiveShowAdvanced = !persistentSettings.receiveShowAdvanced
|
||||||
}
|
}
|
||||||
text: qsTr("Advanced options") + translationManager.emptyString
|
text: qsTr("Advanced options") + translationManager.emptyString
|
||||||
}
|
}
|
||||||
@ -411,7 +410,7 @@ Rectangle {
|
|||||||
columns: (isMobile)? 1 : 2
|
columns: (isMobile)? 1 : 2
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
columnSpacing: 32 * scaleRatio
|
columnSpacing: 32 * scaleRatio
|
||||||
visible: advancedRowVisible
|
visible: persistentSettings.receiveShowAdvanced
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
|
Loading…
Reference in New Issue
Block a user