Commit d1a90cf3 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark Committed by Kurt Hindenburg
Browse files

avoid applying saved geometry if not requested

parent 140ec1d7
......@@ -801,7 +801,9 @@ void MainWindow::applyKonsoleSettings()
}
_viewManager->activeContainer()->setNavigationBehavior(KonsoleSettings::newTabBehavior());
setAutoSaveSettings(QStringLiteral("MainWindow"), KonsoleSettings::saveGeometryOnExit());
if (KonsoleSettings::saveGeometryOnExit() != autoSaveSettings()) {
setAutoSaveSettings(QStringLiteral("MainWindow"), KonsoleSettings::saveGeometryOnExit());
}
updateWindowCaption();
}
......
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