Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
1352ed80
Commit
1352ed80
authored
Feb 04, 2020
by
Jean-Baptiste Mardelle
Browse files
Don't let track header buttons steal keyboard focus
parent
78bf9760
Pipeline
#14465
passed with stage
in 15 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/TrackHead.qml
View file @
1352ed80
...
...
@@ -192,6 +192,7 @@ Rectangle {
anchors.left
:
trackHeadColumn
.
left
height
:
trackHeadRoot
.
buttonSize
width
:
trackHeadRoot
.
buttonSize
focusPolicy
:
Qt
.
NoFocus
//icon.width: trackHeadRoot.iconSize
//icon.height: trackHeadRoot.iconSize
icon.name
:
trackHeadRoot
.
collapsed
?
'
arrow-right
'
:
'
arrow-down
'
...
...
@@ -318,6 +319,7 @@ Rectangle {
checked
:
enabled
&&
trackHeadRoot
.
isStackEnabled
height
:
trackHeadRoot
.
buttonSize
width
:
trackHeadRoot
.
buttonSize
focusPolicy
:
Qt
.
NoFocus
//icon.width: trackHeadRoot.iconSize
//icon.height: trackHeadRoot.iconSize
onClicked
:
{
...
...
@@ -329,6 +331,7 @@ Rectangle {
id
:
muteButton
height
:
trackHeadRoot
.
buttonSize
width
:
trackHeadRoot
.
buttonSize
focusPolicy
:
Qt
.
NoFocus
//icon.width: trackHeadRoot.iconSize
//icon.height: trackHeadRoot.iconSize
icon.name
:
isAudio
?
(
isDisabled
?
'
kdenlive-hide-audio
'
:
'
kdenlive-show-audio
'
)
:
(
isDisabled
?
'
kdenlive-hide-video
'
:
'
kdenlive-show-video
'
)
...
...
@@ -353,6 +356,7 @@ Rectangle {
id
:
lockButton
height
:
trackHeadRoot
.
buttonSize
width
:
trackHeadRoot
.
buttonSize
focusPolicy
:
Qt
.
NoFocus
//icon.width: trackHeadRoot.iconSize
//icon.height: trackHeadRoot.iconSize
icon.name
:
isLocked
?
'
kdenlive-lock
'
:
'
kdenlive-unlock
'
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment