bugfix: main window is deactived for tabbed window preventing the use from dragging tabbed windows

issue: https://github.com/o3de/o3de/issues/4658

Signed-off-by: Michael Pollind <mpollind@gmail.com>
This commit is contained in:
Michael Pollind
2021-10-18 20:48:22 -07:00
parent 2853c4d0dc
commit 9eb7972e74
@@ -2790,10 +2790,12 @@ namespace AzQtComponents
// a docking drag operation (e.g. popup dialog for new level), we
// should cancel our drag operation because the mouse release event
// will be lost since we lost focus
if (m_dropZoneState.dragging())
{
clearDraggingState();
}
#if !defined(AZ_PLATFORM_LINUX)
if (m_dropZoneState.dragging())
{
clearDraggingState();
}
#endif
break;
}
}