]> 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>
Tue, 26 Feb 2019 15:53:14 +0000 (16:53 +0100)
commit954531f247adee029c12713634a81717f87a2bcf
treed8790b5b9afaf159bab6e025aa53483e1f417ddc
parentbabb291ef39551835a3b33959431500d3795c5aa
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