Skip to content

Commit

Permalink
Trigger OnChange event on TSynMemo after toggling comment, so a save …
Browse files Browse the repository at this point in the history
…button gets enabled. See https://www.heidisql.com/forum.php?t=23834
  • Loading branch information
ansgarbecker committed May 18, 2017
1 parent e17fc02 commit 7a48774
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/main.pas
Expand Up @@ -12032,6 +12032,7 @@ procedure TMainForm.actToggleCommentExecute(Sender: TObject);
end;
Editor.SelText := ImplodeStr(CRLF, Sel);
end;
Editor.OnChange(Sender);
end;


Expand Down

0 comments on commit 7a48774

Please sign in to comment.