Fix. Don't change state of a pattern if click on the button OK.
--HG-- branch : develop
This commit is contained in:
parent
39e7b2df89
commit
7be1690e39
|
@ -144,18 +144,21 @@ void DialogPatternProperties::Ok()
|
||||||
{
|
{
|
||||||
SaveDescription();
|
SaveDescription();
|
||||||
descriptionChanged = false;
|
descriptionChanged = false;
|
||||||
|
emit doc->patternChanged(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gradationChanged)
|
if (gradationChanged)
|
||||||
{
|
{
|
||||||
SaveGradation();
|
SaveGradation();
|
||||||
gradationChanged = false;
|
gradationChanged = false;
|
||||||
|
emit doc->patternChanged(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (defaultChanged)
|
if (defaultChanged)
|
||||||
{
|
{
|
||||||
SaveDefValues();
|
SaveDefValues();
|
||||||
defaultChanged = false;
|
defaultChanged = false;
|
||||||
|
emit doc->patternChanged(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
close();
|
close();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user