Skip to content
Permalink
Browse files

Enable cut/paste actions when any control is focused, except read-onl…

…y SQL editors. Closes #592.
  • Loading branch information
ansgarbecker committed Jan 25, 2020
1 parent 67d5475 commit c79be62bfbda75641f987932b509e43859e710c9
Showing with 3 additions and 0 deletions.
  1. +3 −0 source/main.pas
@@ -5805,6 +5805,9 @@ procedure TMainForm.ValidateControls(Sender: TObject);
if inSynMemo then begin
actCut.Enabled := inSynMemoEditable;
actPaste.Enabled := inSynMemoEditable;
end else begin
actCut.Enabled := True;
actPaste.Enabled := True;
end;

ValidateQueryControls(Sender);

0 comments on commit c79be62

Please sign in to comment.
You can’t perform that action at this time.