]> git.lyx.org Git - features.git/commit
Update previews on preference change (#9507)
authorScott Kostyshak <skostysh@lyx.org>
Sun, 19 Apr 2015 06:30:28 +0000 (02:30 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 21 Apr 2015 06:40:18 +0000 (02:40 -0400)
commit390ae05444cf4899a3028dcbbfe1095ecd2d207a
treea92298f8fbe9d7df8135ff053cd862b90ee3f211
parentcf4f79f884fd660887b3827314657dcc797e2916
Update previews on preference change (#9507)

Normally the theBufferList().updatePreviews(); statement would go inside
of PrefDisplay::applyRC. However, that would not work well because
Buffer::updatePreviews() calls loader() which conditions on
(lyxrc.preview == LyXRC::PREVIEW_OFF) but the new RC has not been set at
this point.
src/BufferList.cpp
src/BufferList.h
src/frontends/qt4/GuiPrefs.cpp