]> git.lyx.org Git - features.git/commit
Update screen as needed when preferences are changed
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 26 Feb 2019 15:37:41 +0000 (16:37 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:58 +0000 (14:39 +0200)
commit1d9a90a3052abae5af867d4a6a34e988bbe29adf
tree3d0ea6fa13c024b05566a3b718ab9ec968393a81
parent729be96a6e10a4748e48c4da4068ba689f1a1164
Update screen as needed when preferences are changed

This commit removes the adhoc code in GuiPrefs and moves it to LyXRC,
so that it triggers in every preference change.

The code has also been updated to trigger on more variables, e.g.
font_*_foundry.

Note that the actual function that are called have not been changed
(addPreviews and LFUN_SCREEN_FONT_UPDATE), although there are doubts
that they behave as needed (see FIXMEs).

Fixes bug #11498.
src/LyXRC.cpp
src/frontends/qt4/GuiApplication.cpp
src/frontends/qt4/GuiPrefs.cpp
src/frontends/qt4/GuiPrefs.h