mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* lyx_main.C (init): Do automatic reconfiguration even when
running in batch mode (bug 2741). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14619 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9c7696c6ee
commit
5c4151bb9b
@ -526,12 +526,12 @@ bool LyX::init()
|
||||
if (!lyxrc.path_prefix.empty())
|
||||
prependEnvPath("PATH", lyxrc.path_prefix);
|
||||
|
||||
// Check that user LyX directory is ok. We don't do that if
|
||||
// running in batch mode.
|
||||
if (lyx_gui::use_gui) {
|
||||
if (queryUserLyXDir(package().explicit_user_support()))
|
||||
reconfigureUserLyXDir();
|
||||
} else {
|
||||
// Check that user LyX directory is ok.
|
||||
if (queryUserLyXDir(package().explicit_user_support()))
|
||||
reconfigureUserLyXDir();
|
||||
|
||||
// no need for a splash when there is no GUI
|
||||
if (!lyx_gui::use_gui) {
|
||||
first_start = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user