Skip to content
GitLab
Menu
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
30aa792d
Commit
30aa792d
authored
Jan 30, 2021
by
Jean-Baptiste Mardelle
Browse files
Focus dockwidget on tab hover.
Fixes
#929
parent
013649ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
30aa792d
...
@@ -3872,6 +3872,11 @@ bool MainWindow::isTabbedWith(QDockWidget *widget, const QString &otherWidget)
...
@@ -3872,6 +3872,11 @@ bool MainWindow::isTabbedWith(QDockWidget *widget, const QString &otherWidget)
void
MainWindow
::
updateDockTitleBars
(
bool
isTopLevel
)
void
MainWindow
::
updateDockTitleBars
(
bool
isTopLevel
)
{
{
QList
<
QTabBar
*>
tabbars
=
findChildren
<
QTabBar
*>
();
for
(
QTabBar
*
tab
:
tabbars
)
{
tab
->
setAcceptDrops
(
true
);
tab
->
setChangeCurrentOnDrag
(
true
);
}
if
(
!
KdenliveSettings
::
showtitlebars
()
&&
!
isTopLevel
)
{
if
(
!
KdenliveSettings
::
showtitlebars
()
&&
!
isTopLevel
)
{
return
;
return
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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