OpenToonz - An open-source full-featured 2D animation creation software
C
fix viewer size initialization (#2287)
shun-iwasawa9643858a2f1a
diff --git a/toonz/sources/toonz/mainwindow.cpp b/toonz/sources/toonz/mainwindow.cppindex a942650e7..314436165 100644--- a/toonz/sources/toonz/mainwindow.cpp+++ b/toonz/sources/toonz/mainwindow.cpp@@ -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);