Fix error inside Save layout dialog. Closes #123
This commit is contained in:
parent
e1fa77510b
commit
a2d7446308
|
@ -6,6 +6,7 @@
|
|||
- [smart-pattern/valentina#121] Incorrect elliptical arc end angle.
|
||||
- [smart-pattern/valentina#122] Extend piece bounding rect.
|
||||
- Remember last selected export format.
|
||||
- [smart-pattern/valentina#123] Error inside Save layout dialog.
|
||||
|
||||
# Version 0.7.46 Mar 31, 2021
|
||||
- Fix incorrect calculation of value for multisize measurements in Valentina.
|
||||
|
|
|
@ -548,7 +548,7 @@ void DialogSaveLayout::PathChanged(const QString &text)
|
|||
|
||||
QDir dir(text);
|
||||
dir.setPath(text);
|
||||
if (dir.exists(text))
|
||||
if (not text.isEmpty() && dir.exists(text))
|
||||
{
|
||||
bOk->setEnabled(true);
|
||||
palette.setColor(ui->lineEditPath->foregroundRole(), Qt::black);
|
||||
|
|
Loading…
Reference in New Issue
Block a user