mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 04:19:09 +02:00
ide: enable/disable "Add watch" main menu item when needed
git-svn-id: trunk@21973 -
This commit is contained in:
parent
9d6f86eeb2
commit
ce5feafb1b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user