diff --git a/ChangeLog.txt b/ChangeLog.txt index 7eb3cf854..e6bfa14cf 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -6,6 +6,7 @@ - [smart-pattern/valentina#170] Incorrect work with curves. - Suspend use of qt_ntfs_permission_lookup. QTBUG-101168 - Remove support for russian language. +- Improve CLI. Better handle printer margins. # Valentina 0.7.50 February 14, 2022 - Fix regression. Minimal seam allowance width is less than the point accuracy values. diff --git a/src/app/valentina/core/vcmdexport.cpp b/src/app/valentina/core/vcmdexport.cpp index b64a92bc7..7b44b89d8 100644 --- a/src/app/valentina/core/vcmdexport.cpp +++ b/src/app/valentina/core/vcmdexport.cpp @@ -128,7 +128,7 @@ VLayoutGeneratorPtr VCommandLine::DefaultGenerator() const bool a = IsOptionSet(key); bool b = IsOptionSet(LONG_OPTION_PAGEUNITS); - if ((a || b) && !(a && b)) + if (a && !(a && b)) { qCritical() << message << "\n"; const_cast(this)->parser.showHelp(V_EX_USAGE);