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