From fc26bd175e1c7eff9581626fa58dd253d4cb39d6 Mon Sep 17 00:00:00 2001 From: mmbyday Date: Thu, 13 Dec 2018 19:53:50 -0800 Subject: [PATCH] Transfer: transaction priority persists over page changes and reset to automatic after successful send --- pages/Transfer.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/Transfer.qml b/pages/Transfer.qml index f766bc72..589cdea2 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -82,6 +82,8 @@ Rectangle { paymentIdLine.text = "" amountLine.text = "" descriptionLine.text = "" + priorityDropdown.currentIndex = 0 + updatePriorityDropdown() } // Information dialog @@ -192,6 +194,7 @@ Rectangle { shadowPressedColor: "#B32D00" releasedColor: "#363636" pressedColor: "#202020" + currentIndex: 0 } } // Make sure dropdown is on top @@ -623,7 +626,6 @@ Rectangle { function updatePriorityDropdown() { priorityDropdown.dataModel = priorityModelV5; - priorityDropdown.currentIndex = 0 priorityDropdown.update() }