Merge pull request #1823

fc26bd1 Transfer: transaction priority persists over page changes and reset to automatic after successful send (mmbyday)
This commit is contained in:
luigi1111 2018-12-18 09:36:30 -06:00
commit b8f531382d
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

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()
} }