Adapt the check for configure need to the one used in LyX::queryUserLyXDir()

We should refactor the check
This commit is contained in:
Kornel Benko 2017-08-08 12:23:15 +02:00
parent 45188eda77
commit 29a735463a

View File

@ -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