mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Make sure that UI mode and Always On Top flag are preserved on config changes.
This commit is contained in:
parent
2d02204d4e
commit
bba95a2f3f
|
@ -1613,6 +1613,8 @@ void MainWindow::editPreferences()
|
||||||
p.zoomFactor = cfg.preferences.zoomFactor;
|
p.zoomFactor = cfg.preferences.zoomFactor;
|
||||||
p.wordsZoomLevel = cfg.preferences.wordsZoomLevel;
|
p.wordsZoomLevel = cfg.preferences.wordsZoomLevel;
|
||||||
p.hideMenubar = cfg.preferences.hideMenubar;
|
p.hideMenubar = cfg.preferences.hideMenubar;
|
||||||
|
p.searchInDock = cfg.preferences.searchInDock;
|
||||||
|
p.alwaysOnTop = cfg.preferences.alwaysOnTop;
|
||||||
|
|
||||||
bool needReload = false;
|
bool needReload = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue