mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-26 08:01:32 +08:00
Added window()->activateWindow() dropFloatingWidget() function
This commit is contained in:
parent
ba94ef3493
commit
4da810ba7c
@ -1459,6 +1459,8 @@ void CDockContainerWidget::dropFloatingWidget(CFloatingDockContainer* FloatingWi
|
|||||||
// level widget anymore
|
// level widget anymore
|
||||||
CDockWidget::emitTopLevelEventForWidget(SingleDockWidget, false);
|
CDockWidget::emitTopLevelEventForWidget(SingleDockWidget, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window()->activateWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1490,7 +1492,7 @@ void CDockContainerWidget::dropWidget(QWidget* Widget, DockWidgetArea DropArea,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this->window()->activateWindow();
|
window()->activateWindow();
|
||||||
d->DockManager->emitWidgetDroppedSignals(Widget);
|
d->DockManager->emitWidgetDroppedSignals(Widget);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user