From 29a735463a06bffa0d075755df42c7c6c5ba1274 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Tue, 8 Aug 2017 12:23:15 +0200 Subject: [PATCH] Adapt the check for configure need to the one used in LyX::queryUserLyXDir() We should refactor the check --- src/tex2lyx/tex2lyx.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tex2lyx/tex2lyx.cpp b/src/tex2lyx/tex2lyx.cpp index 3c0bf819d3..fc6ea1efc8 100644 --- a/src/tex2lyx/tex2lyx.cpp +++ b/src/tex2lyx/tex2lyx.cpp @@ -1060,7 +1060,9 @@ int TeX2LyXApp::run() if (configFileNeedsUpdate("lyxrc.defaults") || configFileNeedsUpdate("lyxmodules.lst") || configFileNeedsUpdate("textclass.lst") || - configFileNeedsUpdate("packages.lst")) + configFileNeedsUpdate("packages.lst") || + configFileNeedsUpdate("lyxciteengines.lst") || + configFileNeedsUpdate("xtemplates.lst")) package().reconfigureUserLyXDir(""); fileUnlock(fd, lock_file.c_str()); } else