MDI: Raise window when we're dragging it
Otherwise it's appearing under others, possibly
This commit is contained in:
@@ -389,6 +389,12 @@ void StateInternalMDIDragging::onEntry()
|
||||
{
|
||||
qCDebug(state) << "StateInternalMDIDragging entered. draggable="
|
||||
<< q->m_draggable->asWidget();
|
||||
|
||||
// Raise the dock widget being dragged
|
||||
if (auto tb = qobject_cast<TitleBar *>(q->m_draggable->asWidget())) {
|
||||
if (Frame *f = tb->frame())
|
||||
f->raise();
|
||||
}
|
||||
}
|
||||
|
||||
bool StateInternalMDIDragging::handleMouseButtonRelease(QPoint)
|
||||
|
||||
Reference in New Issue
Block a user