OpenToonz - An open-source full-featured 2D animation creation software
C
Preserve restored panel positions
Rodneybf89db166756
diff --git a/toonz/sources/toonz/mainwindow.cpp b/toonz/sources/toonz/mainwindow.cppindex 39029aaf1..940dddc94 100644--- a/toonz/sources/toonz/mainwindow.cpp+++ b/toonz/sources/toonz/mainwindow.cpp@@ -441,7 +441,9 @@ void Room::showEvent(QShowEvent *event) {DockLayout::State savedState = m_pendingLayoutState;DockLayout *layout = dockLayout();QTimer::singleShot(0, this, [layout, savedState]() {- if (layout->restoreState(savedState)) layout->redistribute();+ // restoreState() already applies the saved panel geometry. Redistributing+ // here would recalculate it and discard the user's saved panel positions.+ layout->restoreState(savedState);});}}