소스 검색

Add comment.

Martijn Laan 1 년 전
부모
커밋
969320c718
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      Projects/Src/IDE.MainForm.pas

+ 4 - 0
Projects/Src/IDE.MainForm.pas

@@ -6119,6 +6119,10 @@ begin
   ApplyMenuBitmaps(Sender as TMenuItem);
 end;
 
+{ Should always be called when one of the Enabled states would change because
+  other code depends on the states being correct always even if the user never
+  clicks the Run menu. This is unlike the other menus. Note: also updates
+  BCompile and BStopCompile from the Build menu. }
 procedure TMainForm.UpdateRunMenu;
 begin
   CheckIfTerminated;