Commit d93edff9 authored by Julius Künzel's avatar Julius Künzel
Browse files

Fix keymap info on subtitle track

Double click to add a subtitle only works with the select tool

Related to #1021
parent 3d4936b8
......@@ -1623,7 +1623,9 @@ Rectangle {
hoverEnabled: true
onWheel: zoomByWheel(wheel)
onEntered: {
timeline.showKeyBinding(i18n("<b>Double click</b> to add a subtitle"))
if (root.activeTool === ProjectTool.SelectTool) {
timeline.showKeyBinding(i18n("<b>Double click</b> to add a subtitle"))
}
}
onExited: {
timeline.showKeyBinding()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment