Skip to content

Commit a89e94b

Browse files
committed
Fix desing time bug on color dialog
1 parent d470acf commit a89e94b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package/ray4laz_misc.pas

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ procedure ShowColorDialog(Sender: TObject);
120120
Editor.CutToClipboard;
121121
Editor.ReplaceText(editor.CursorTextXY,editor.CursorTextXY,Txt);
122122
end;
123+
if not Assigned(ColorDialog) then ColorDialog.Free;
123124
end;
124125

125126
function MyGetProjectTargetFile: string;

0 commit comments

Comments
 (0)