fix viewer size initialization (#2287)

This commit is contained in:
shun-iwasawa 2018-09-11 15:50:24 +09:00 committed by masafumi-inoue
parent 18a7c631a5
commit 9643858a2f

View file

@ -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);