summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kacej <[email protected]>2018-03-20 14:30:53 +0100
committerMartin Kacej <[email protected]>2018-03-20 14:30:53 +0100
commit43e26da0b249e86f8217e62079a2db5c6970faeb (patch)
tree1b562e7c42251995dbacd297d532cba03d383299
parent38b6d2eb62a06c105631cd97d7affd5a9e6d93a7 (diff)
enabling button according to input
-rw-r--r--mobile/package/contents/ui/RowItemDelegate.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/mobile/package/contents/ui/RowItemDelegate.qml b/mobile/package/contents/ui/RowItemDelegate.qml
index cd4723b..84dab76 100644
--- a/mobile/package/contents/ui/RowItemDelegate.qml
+++ b/mobile/package/contents/ui/RowItemDelegate.qml
@@ -112,9 +112,12 @@ Kirigami.SwipeListItem {
id: connectionPasswordFieldField
securityType: SecurityType
height: parent.height
+ onAcceptableInputChanged: {
+ connectionPasswordFieldButton.enabled = acceptableInput
+ }
}
- PlasmaComponents.Button{
+ Controls.Button{
id: connectionPasswordFieldButton
anchors.left: connectionPasswordFieldField.right