fix viewer size initialization (#2287)
This commit is contained in:
parent
18a7c631a5
commit
9643858a2f
1 changed files with 3 additions and 0 deletions
|
@ -355,6 +355,9 @@ void Room::load(const TFilePath &fp) {
|
|||
settings.endGroup();
|
||||
}
|
||||
|
||||
// resolve resize events here to avoid unwanted minimize of floating viewer
|
||||
qApp->processEvents();
|
||||
|
||||
DockLayout::State state(geometries, settings.value("hierarchy").toString());
|
||||
|
||||
layout->restoreState(state);
|
||||
|
|
Loading…
Reference in a new issue