Commit f6cf18bf authored by Jan Lepper's avatar Jan Lepper
Browse files

FIXED: [ 189943 ] toolbar position settings are not remembered

BUG: 189943
parent 34bb8905
CHANGED: disabled build of synchronizer by default, since it is unmaintained -
build togglable with cmake variable -DENABLE_SYNCHRONIZER=true|false
FIXED: [ 189943 ] toolbar position settings are not remembered
FIXED: [ 316031 ] crash when loading previews
FIXED: [ 238672 ] When saving checksums fails, they are lost. No 2nd chance to save elsewhere.
FIXED: [ 315764 ] "application/x-source-rpm" isn't linked to krarc protocol by default
......
......@@ -458,6 +458,9 @@ void Krusader::savePosition() {
cfg = krConfig->group("Startup");
MAIN_VIEW->saveSettings(cfg);
saveMainWindowSettings(KConfigGroup(&cfg, "MainWindowSettings"));
krConfig->sync();
}
......@@ -690,6 +693,7 @@ void Krusader::updateGUI(bool enforce) {
KConfigGroup cfg(krConfig, "Startup");
if (enforce) {
applyMainWindowSettings(KConfigGroup(&cfg, "MainWindowSettings"));
// now, hide what need to be hidden
toolBar()->setVisible(cfg.readEntry("Show tool bar", _ShowToolBar));
toolBar("actionsToolBar")->setVisible(cfg.readEntry("Show actions tool bar", _ShowActionsToolBar));
......
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