]> git.lyx.org Git - lyx.git/blobdiff - src/LyXFunc.cpp
Typo.
[lyx.git] / src / LyXFunc.cpp
index 79d67237de35832b142407c4fa1afc16641a7129..6a3db5bb8559c086dcc1db2b4096cd755988c9f9 100644 (file)
@@ -1529,6 +1529,9 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
 
                        actOnUpdatedPrefs(lyxrc_orig, lyxrc);
 
+                       // Set the language defined by the user.
+                       LyX::ref().setRcGuiLanguage();
+
                        theApp()->resetGui();
 
                        /// We force the redraw in any case because there might be