mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
Avoid corrupted overlapping docks when first changing from dialog to dock
This commit is contained in:
parent
b4187bb3ad
commit
934bf47e2f
@ -428,7 +428,7 @@ void QgsDockableWidgetHelper::setupDockWidget( const QStringList &tabSiblings )
|
||||
QMetaObject::invokeMethod( mDock, [this] {
|
||||
if (mIsDockFloating && sSettingsDockGeometry->exists( mSettingKeyDockId ) )
|
||||
mDock->restoreGeometry( sSettingsDockGeometry->value( mSettingKeyDockId ).toByteArray() );
|
||||
else
|
||||
else if ( mIsDockFloating )
|
||||
mDock->setGeometry( mDockGeometry ); }, Qt::QueuedConnection );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user