Do not update the recent files list in export/test mode.
--HG-- branch : develop
This commit is contained in:
parent
ca24b201e1
commit
0c731ea406
|
@ -2880,7 +2880,7 @@ void MainWindow::setCurrentFile(const QString &fileName)
|
|||
curFile = fileName;
|
||||
qApp->getUndoStack()->setClean();
|
||||
|
||||
if (not curFile.isEmpty())
|
||||
if (not curFile.isEmpty() && VApplication::IsGUIMode())
|
||||
{
|
||||
qCDebug(vMainWindow, "Updating recent file list.");
|
||||
VSettings *settings = qApp->ValentinaSettings();
|
||||
|
|
Loading…
Reference in New Issue
Block a user