From 5c4151bb9bb7fc6da8dc6856eafe6a9182d79c42 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 11 Aug 2006 22:11:33 +0000 Subject: [PATCH] * 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 --- src/lyx_main.C | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lyx_main.C b/src/lyx_main.C index 5a3978a824..422ecc0308 100644 --- a/src/lyx_main.C +++ b/src/lyx_main.C @@ -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; } -- 2.39.2