mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
Raise the maxlastfiles cap
This only changes the maximum value that the user can choose in the UI, not the default value.
This commit is contained in:
parent
97a3a64290
commit
77714e6db7
@ -261,7 +261,7 @@ void LyXRC::setDefaults()
|
|||||||
auto_reset_options = false;
|
auto_reset_options = false;
|
||||||
plaintext_linelen = 65;
|
plaintext_linelen = 65;
|
||||||
mouse_wheel_speed = 1.0;
|
mouse_wheel_speed = 1.0;
|
||||||
num_lastfiles = maxlastfiles;
|
num_lastfiles = 20;
|
||||||
check_lastfiles = true;
|
check_lastfiles = true;
|
||||||
use_lastfilepos = true;
|
use_lastfilepos = true;
|
||||||
load_session = false;
|
load_session = false;
|
||||||
@ -3077,8 +3077,7 @@ string const LyXRC::getDescription(LyXRCTags tag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_MOUSE_WHEEL_SPEED:
|
case RC_MOUSE_WHEEL_SPEED:
|
||||||
str = bformat(_("The scrolling speed of the mouse wheel."),
|
str = _("The scrolling speed of the mouse wheel.");
|
||||||
maxlastfiles);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RC_COMPLETION_POPUP_DELAY:
|
case RC_COMPLETION_POPUP_DELAY:
|
||||||
|
@ -523,7 +523,7 @@ extern LyXRC lyxrc;
|
|||||||
extern LyXRC system_lyxrc;
|
extern LyXRC system_lyxrc;
|
||||||
|
|
||||||
// used by at least frontends/qt4/GuiPref.cpp
|
// used by at least frontends/qt4/GuiPref.cpp
|
||||||
const long maxlastfiles = 20;
|
const long maxlastfiles = 50;
|
||||||
|
|
||||||
} // namespace lyx
|
} // namespace lyx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user