1
mirror of https://github.com/monero-project/monero-gui synced 2025-01-03 20:56:23 +01:00

Transfer: transaction priority persists over page changes and reset to automatic after successful send

This commit is contained in:
mmbyday 2018-12-13 19:53:50 -08:00
parent 59fc48bd8b
commit fc26bd175e

View File

@ -82,6 +82,8 @@ Rectangle {
paymentIdLine.text = "" paymentIdLine.text = ""
amountLine.text = "" amountLine.text = ""
descriptionLine.text = "" descriptionLine.text = ""
priorityDropdown.currentIndex = 0
updatePriorityDropdown()
} }
// Information dialog // Information dialog
@ -192,6 +194,7 @@ Rectangle {
shadowPressedColor: "#B32D00" shadowPressedColor: "#B32D00"
releasedColor: "#363636" releasedColor: "#363636"
pressedColor: "#202020" pressedColor: "#202020"
currentIndex: 0
} }
} }
// Make sure dropdown is on top // Make sure dropdown is on top
@ -623,7 +626,6 @@ Rectangle {
function updatePriorityDropdown() { function updatePriorityDropdown() {
priorityDropdown.dataModel = priorityModelV5; priorityDropdown.dataModel = priorityModelV5;
priorityDropdown.currentIndex = 0
priorityDropdown.update() priorityDropdown.update()
} }