ide: enable/disable "Add watch" main menu item when needed

git-svn-id: trunk@21973 -
This commit is contained in:
paul 2009-10-02 03:48:41 +00:00
parent 9d6f86eeb2
commit ce5feafb1b

View File

@ -1938,6 +1938,8 @@ begin
itmRunMenuEvaluate.Enabled := (not DebuggerInvalid)
and (dcEvaluate in FDebugger.Commands);
itmRunMenuAddWatch.Enabled := (not DebuggerInvalid)
and (dcWatch in FDebugger.Commands);
// TODO: add other debugger menuitems
// TODO: implement by actions
end;