Fix error inside Save layout dialog. Closes #123
This commit is contained in:
parent
27a3e28855
commit
58ed7c2794
|
@ -42,7 +42,8 @@
|
||||||
- Fix incorrect filename regular expressions.
|
- Fix incorrect filename regular expressions.
|
||||||
- Enabling Show Curve Details option causes constant redraw.
|
- Enabling Show Curve Details option causes constant redraw.
|
||||||
- Fix regression with country flags.
|
- Fix regression with country flags.
|
||||||
- [smart-pattern/valentina#121] Incorrect elliptical arc end angle
|
- [smart-pattern/valentina#121] Incorrect elliptical arc end angle.
|
||||||
|
- [smart-pattern/valentina#123] Error inside Save layout dialog.
|
||||||
|
|
||||||
# Version 0.6.1 October 23, 2018
|
# Version 0.6.1 October 23, 2018
|
||||||
- [#885] Regression. Broken support for multi size measurements.
|
- [#885] Regression. Broken support for multi size measurements.
|
||||||
|
|
|
@ -545,7 +545,7 @@ void DialogSaveLayout::PathChanged(const QString &text)
|
||||||
|
|
||||||
QDir dir(text);
|
QDir dir(text);
|
||||||
dir.setPath(text);
|
dir.setPath(text);
|
||||||
if (dir.exists(text))
|
if (not text.isEmpty() && dir.exists(text))
|
||||||
{
|
{
|
||||||
bOk->setEnabled(true);
|
bOk->setEnabled(true);
|
||||||
palette.setColor(ui->lineEditPath->foregroundRole(), Qt::black);
|
palette.setColor(ui->lineEditPath->foregroundRole(), Qt::black);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user