Improve CLI. Better handle printer margins.
This commit is contained in:
parent
6d77f3ebc0
commit
3a432e06fd
|
@ -6,6 +6,7 @@
|
||||||
- [smart-pattern/valentina#170] Incorrect work with curves.
|
- [smart-pattern/valentina#170] Incorrect work with curves.
|
||||||
- Suspend use of qt_ntfs_permission_lookup. QTBUG-101168
|
- Suspend use of qt_ntfs_permission_lookup. QTBUG-101168
|
||||||
- Remove support for russian language.
|
- Remove support for russian language.
|
||||||
|
- Improve CLI. Better handle printer margins.
|
||||||
|
|
||||||
# Valentina 0.7.50 February 14, 2022
|
# Valentina 0.7.50 February 14, 2022
|
||||||
- Fix regression. Minimal seam allowance width is less than the point accuracy values.
|
- Fix regression. Minimal seam allowance width is less than the point accuracy values.
|
||||||
|
|
|
@ -128,7 +128,7 @@ VLayoutGeneratorPtr VCommandLine::DefaultGenerator() const
|
||||||
bool a = IsOptionSet(key);
|
bool a = IsOptionSet(key);
|
||||||
bool b = IsOptionSet(LONG_OPTION_PAGEUNITS);
|
bool b = IsOptionSet(LONG_OPTION_PAGEUNITS);
|
||||||
|
|
||||||
if ((a || b) && !(a && b))
|
if (a && !(a && b))
|
||||||
{
|
{
|
||||||
qCritical() << message << "\n";
|
qCritical() << message << "\n";
|
||||||
const_cast<VCommandLine*>(this)->parser.showHelp(V_EX_USAGE);
|
const_cast<VCommandLine*>(this)->parser.showHelp(V_EX_USAGE);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user