]> git.lyx.org Git - features.git/commitdiff
Raise the maxlastfiles cap
authorGuillaume Munch <gm@lyx.org>
Wed, 13 Jan 2016 01:30:05 +0000 (01:30 +0000)
committerGuillaume Munch <gm@lyx.org>
Sat, 16 Apr 2016 22:12:38 +0000 (23:12 +0100)
This only changes the maximum value that the user can choose in the UI, not the
default value.

src/LyXRC.cpp
src/LyXRC.h

index e18a9d6f62e2500015795c9933a83e37837f8b2f..8b7c3b3ec89756bdeda71245322239e9ec4cb39d 100644 (file)
@@ -261,7 +261,7 @@ void LyXRC::setDefaults()
        auto_reset_options = false;
        plaintext_linelen = 65;
        mouse_wheel_speed = 1.0;
-       num_lastfiles = maxlastfiles;
+       num_lastfiles = 20;
        check_lastfiles = true;
        use_lastfilepos = true;
        load_session = false;
@@ -3077,8 +3077,7 @@ string const LyXRC::getDescription(LyXRCTags tag)
                break;
 
        case RC_MOUSE_WHEEL_SPEED:
-               str = bformat(_("The scrolling speed of the mouse wheel."),
-                     maxlastfiles);
+               str = _("The scrolling speed of the mouse wheel.");
                break;
 
        case RC_COMPLETION_POPUP_DELAY:
index 38d8412e69989f65dd44d31ce733d2e1824bbbc2..7b50ce0a56e9b218cee1ee9304c43207798bacbe 100644 (file)
@@ -523,7 +523,7 @@ extern LyXRC lyxrc;
 extern LyXRC system_lyxrc;
 
 // used by at least frontends/qt4/GuiPref.cpp
-const long maxlastfiles = 20;
+const long maxlastfiles = 50;
 
 } // namespace lyx