Fixxed isse #131 - Crash on dropping in same area multiple times
This commit is contained in:
@@ -396,6 +396,20 @@ DockWidgetArea CDockOverlay::dropAreaUnderCursor() const
|
||||
}
|
||||
|
||||
|
||||
//============================================================================
|
||||
DockWidgetArea CDockOverlay::visibleDropAreaUnderCursor() const
|
||||
{
|
||||
if (isHidden() || !d->DropPreviewEnabled)
|
||||
{
|
||||
return InvalidDockWidgetArea;
|
||||
}
|
||||
else
|
||||
{
|
||||
return dropAreaUnderCursor();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//============================================================================
|
||||
DockWidgetArea CDockOverlay::showOverlay(QWidget* target)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user