]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.cpp
Do not crash when entering math in ct mode with merge dialog open.
[lyx.git] / src / LyXRC.cpp
index bc8260c7e02fc3a2334f62d2cb516e5e1d3bc2b3..80b85141d25145e2a3eab443aae6030d480e19b1 100644 (file)
@@ -57,7 +57,7 @@ namespace {
 
 // The format should also be updated in configure.py, and conversion code
 // should be added to prefs2prefs_prefs.py.
-static unsigned int const LYXRC_FILEFORMAT = 14; // spitz: default_otf_view_format
+static unsigned int const LYXRC_FILEFORMAT = 15; // prannoy: statusbar on/off in full screen
 
 // when adding something to this array keep it sorted!
 LexerKeyword lyxrcTags[] = {
@@ -3006,6 +3006,8 @@ void actOnUpdatedPrefs(LyXRC const & lyxrc_orig, LyXRC const & lyxrc_new)
        case LyXRC::RC_PATH_PREFIX:
                if (lyxrc_orig.path_prefix != lyxrc_new.path_prefix) {
                        prependEnvPath("PATH", lyxrc_new.path_prefix);
+                       // Resets python path
+                       support::os::python(true);
                }
        case LyXRC::RC_PREVIEW:
        case LyXRC::RC_PREVIEW_HASHED_LABELS: