mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Lost some settings when "Options" dialog called (issue #135)
This commit is contained in:
parent
259efae81c
commit
e26cb52af1
|
@ -1414,6 +1414,12 @@ void MainWindow::editPreferences()
|
|||
{
|
||||
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;
|
||||
|
||||
// See if we need to reapply stylesheets
|
||||
|
|
Loading…
Reference in a new issue