mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-24 23:31:32 +08:00
Again... Fixes invisible FloatingWidget's title-widget after restoring state.
This commit is contained in:
parent
afb5abd635
commit
21f316577f
@ -942,6 +942,11 @@ bool ContainerWidget::restoreFloatingWidgets(QDataStream& in, int version, QList
|
||||
FloatingWidget* fw = new FloatingWidget(this, sc, data.titleWidget, data.contentWidget, this);
|
||||
fw->restoreGeometry(geom);
|
||||
fw->setVisible(visible);
|
||||
if (visible)
|
||||
{
|
||||
fw->_titleWidget->setVisible(visible);
|
||||
fw->_contentWidget->setVisible(visible);
|
||||
}
|
||||
floatings.append(fw);
|
||||
data.titleWidget->_fw = fw; // $mfreiholz: Don't look at it :-< It's more than ugly...
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user