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();
|
||||
descriptionChanged = false;
|
||||
emit doc->patternChanged(false);
|
||||
}
|
||||
|
||||
if (gradationChanged)
|
||||
{
|
||||
SaveGradation();
|
||||
gradationChanged = false;
|
||||
emit doc->patternChanged(false);
|
||||
}
|
||||
|
||||
if (defaultChanged)
|
||||
{
|
||||
SaveDefValues();
|
||||
defaultChanged = false;
|
||||
emit doc->patternChanged(false);
|
||||
}
|
||||
|
||||
close();
|
||||
|
|
Loading…
Reference in New Issue
Block a user