From 7be1690e399db46de917b4ca3b5f8f017c8c2bb3 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 8 Jan 2016 13:22:48 +0200 Subject: [PATCH] Fix. Don't change state of a pattern if click on the button OK. --HG-- branch : develop --- src/app/valentina/dialogs/dialogpatternproperties.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/valentina/dialogs/dialogpatternproperties.cpp b/src/app/valentina/dialogs/dialogpatternproperties.cpp index 3115183b7..a3aaa29af 100644 --- a/src/app/valentina/dialogs/dialogpatternproperties.cpp +++ b/src/app/valentina/dialogs/dialogpatternproperties.cpp @@ -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();