2
0
Эх сурвалжийг харах

#383 avoid error if double click OK

circular17 3 жил өмнө
parent
commit
9980004381

+ 1 - 0
lazpaint/dialog/color/ucolorize.pas

@@ -97,6 +97,7 @@ end;
 
 procedure TFColorize.Button_OKClick(Sender: TObject);
 begin
+  if FFilterConnector.ActionDone then exit;
   ApplyChosenColor;
   FFilterConnector.ValidateAction;
   FFilterConnector.Parameters.Floats['Hue'] := ChosenHueDegF;