Skip to content

Commit ef66b62

Browse files
committed
fix|(mobile): Avoid stealing focus when the button is clicked
1 parent 73b0828 commit ef66b62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/StatusQ/src/StatusQ/Controls/StatusBaseButton.qml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ AbstractButton {
6666

6767
property bool isRoundIcon: false
6868

69+
focusPolicy: Utils.isMobile ? Qt.NoFocus : Qt.StrongFocus
70+
6971
QtObject {
7072
id: d
7173

0 commit comments

Comments
 (0)