Permalink
Browse files

Trigger OnChange event on TSynMemo after toggling comment, so a save …

…button gets enabled. See https://www.heidisql.com/forum.php?t=23834
  • Loading branch information...
ansgarbecker committed May 18, 2017
1 parent e17fc02 commit 7a48774fe0680600584b06b7728a9edacdee07a8
Showing with 1 addition and 0 deletions.
  1. +1 −0 source/main.pas
View
@@ -12032,6 +12032,7 @@ procedure TMainForm.actToggleCommentExecute(Sender: TObject);
end;
Editor.SelText := ImplodeStr(CRLF, Sel);
end;
Editor.OnChange(Sender);
end;

0 comments on commit 7a48774

Please sign in to comment.