]> git.lyx.org Git - lyx.git/blobdiff - src/LyXFunc.cpp
* There are cases where updateLabels is not called because no
[lyx.git] / src / LyXFunc.cpp
index 966ad3a2d1e49f5fdd1cf6e82c0c408b1fb62902..31644b10b9cd31f3ad915b96b6813020243b7944 100644 (file)
@@ -77,7 +77,6 @@
 #include "frontends/alert.h"
 #include "frontends/Application.h"
 #include "frontends/FileDialog.h"
-#include "frontends/FontLoader.h"
 #include "frontends/KeySymbol.h"
 #include "frontends/LyXView.h"
 #include "frontends/Selection.h"
@@ -1930,9 +1929,9 @@ void LyXFunc::open(string const & fname)
                filename = fname;
 
        // get absolute path of file and add ".lyx" to the filename if
-       // necessary. we allow_unreadable because the file may not exist.
+       // necessary. 
        FileName const fullname = 
-                       fileSearch(string(), filename, "lyx", support::allow_unreadable);
+                       fileSearch(string(), filename, "lyx", support::may_not_exist);
        if (!fullname.empty())
                filename = fullname.absFilename();
 
@@ -2214,6 +2213,7 @@ void actOnUpdatedPrefs(LyXRC const & lyxrc_orig, LyXRC const & lyxrc_new)
        case LyXRC::RC_MACRO_EDIT_STYLE:
        case LyXRC::RC_MAKE_BACKUP:
        case LyXRC::RC_MARK_FOREIGN_LANGUAGE:
+       case LyXRC::RC_MOUSE_WHEEL_SPEED:
        case LyXRC::RC_NUMLASTFILES:
        case LyXRC::RC_PATH_PREFIX:
                if (lyxrc_orig.path_prefix != lyxrc_new.path_prefix) {