Skip to content

Commit d6a9dea

Browse files
committed
Focus password fields on click rather than on hover
Closes #161
1 parent bf98bcb commit d6a9dea

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

data/themes/maui/Main.qml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/***************************************************************************
2+
* Copyright (c) 2015 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
23
* Copyright (c) 2013 Abdurrahman AVCI <abdurrahmanavci@gmail.com
34
*
45
* Permission is hereby granted, free of charge, to any person
@@ -79,9 +80,10 @@ Rectangle {
7980

8081
MouseArea {
8182
anchors.fill: parent
82-
hoverEnabled: true
83-
onEntered: listView.currentIndex = index
84-
onClicked: listView.focus = true
83+
onClicked: {
84+
listView.currentIndex = index;
85+
listView.focus = true;
86+
}
8587
}
8688
}
8789
}

0 commit comments

Comments
 (0)