Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
439
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
55ace881
Commit
55ace881
authored
3 years ago
by
Fatih Uzunoğlu
Committed by
Hugo Beauzée-Luyssen
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
qml: don't reset focus when reason is the same
parent
ae390cea
No related branches found
No related tags found
Loading
Pipeline
#178169
passed with stage
in 19 minutes
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/gui/qt/util/qml/Helpers.js
+3
-0
3 additions, 0 deletions
modules/gui/qt/util/qml/Helpers.js
with
3 additions
and
0 deletions
modules/gui/qt/util/qml/Helpers.js
+
3
−
0
View file @
55ace881
...
...
@@ -55,6 +55,9 @@ function get(dict, key, defaultValue) {
// NOTE: This allows us to force another 'reason' even when the item has activeFocus.
function
enforceFocus
(
item
,
reason
)
{
if
(
item
.
activeFocus
&&
item
.
focusReason
===
reason
)
return
item
.
focus
=
false
;
item
.
forceActiveFocus
(
reason
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment