Commit 5644a8de authored by Jouni Pentikäinen's avatar Jouni Pentikäinen

Restore detached canvas window geometry to correct window

parent 3b4cd767
......@@ -266,7 +266,7 @@ void KisWindowLayoutResource::applyLayout()
mainWindow->setCanvasDetached(window.canvasDetached);
if (window.canvasDetached) {
QWidget *canvasWindow = mainWindow->canvasWindow();
mainWindow->restoreGeometry(window.canvasWindowGeometry.data);
canvasWindow->restoreGeometry(window.canvasWindowGeometry.data);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment