mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +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();
|
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
|
||||||
|
|
Loading…
Reference in a new issue