Fix. Don't change state of a pattern if click on the button OK.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-01-08 13:22:48 +02:00
parent 39e7b2df89
commit 7be1690e39

View File

@ -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();