Lost some settings when "Options" dialog called (issue #135)

This commit is contained in:
Abs62 2012-11-12 18:34:47 +04:00
parent 259efae81c
commit e26cb52af1

View file

@ -1414,6 +1414,12 @@ void MainWindow::editPreferences()
{ {
Config::Preferences p = preferences.getPreferences(); Config::Preferences p = preferences.getPreferences();
// These parameters are not set in dialog
p.maxStringsInHistory = cfg.preferences.maxStringsInHistory;
p.zoomFactor = cfg.preferences.zoomFactor;
p.wordsZoomLevel = cfg.preferences.wordsZoomLevel;
p.hideMenubar = cfg.preferences.hideMenubar;
bool needReload = false; bool needReload = false;
// See if we need to reapply stylesheets // See if we need to reapply stylesheets