Skip to content
Snippets Groups Projects
Commit 51ed14e2 authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Jean-Baptiste Kempf
Browse files

qml: set focus on mouse press in PlayButton

parent fe7f3b69
No related branches found
No related tags found
1 merge request!789qml: player controlbar layout management rework
......@@ -108,8 +108,12 @@ Control {
}
onPressed: {
if (!cursorInside)
if (!cursorInside) {
mouse.accepted = false
return
}
playBtn.forceActiveFocus(Qt.MouseFocusReason)
}
onClicked: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment