diff --git a/ChangeLog.txt b/ChangeLog.txt index b3982e436..7dd4e14e6 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -18,6 +18,7 @@ - [#544] Error: Color Lines are black until touched. - [#543] Detail loses details. - [#548] Bug Detail tool. Case when seam allowance is wrong. +- Called the main app in console mode doesn't show opening file error in some cases. # Version 0.4.4 April 12, 2016 - Updated measurement templates with all measurements. Added new template Aldrich/Women measurements. diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 37c6560cb..8523d047c 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -3587,9 +3587,15 @@ bool MainWindow::LoadPattern(const QString &fileName, const QString& customMeasu ZoomFirstShow(); ActionDraw(true); + + qApp->setOpeningPattern();// End opening file + return true; + } + else + { + qApp->setOpeningPattern();// End opening file + return false; } - qApp->setOpeningPattern();// End opening file - return true; } //---------------------------------------------------------------------------------------------------------------------