Commit 30aa792d authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Focus dockwidget on tab hover.

Fixes #929
parent 013649ec
......@@ -3872,6 +3872,11 @@ bool MainWindow::isTabbedWith(QDockWidget *widget, const QString &otherWidget)
void MainWindow::updateDockTitleBars(bool isTopLevel)
{
QList<QTabBar *> tabbars = findChildren<QTabBar *>();
for (QTabBar *tab : tabbars) {
tab->setAcceptDrops(true);
tab->setChangeCurrentOnDrag(true);
}
if (!KdenliveSettings::showtitlebars() && !isTopLevel) {
return;
}
......
Markdown is supported
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