mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 04:58:11 +02:00
IDE, Debugger: Allow "Add Watch" as button on the editor toolbar
git-svn-id: trunk@63653 -
This commit is contained in:
parent
5da70017ac
commit
5ce498b490
@ -1135,7 +1135,7 @@ begin
|
||||
WatchVar := SE.Selection
|
||||
else
|
||||
WatchVar := SE.GetOperandAtCurrentCaret;
|
||||
if (WatchVar <> '') and SE.EditorComponent.Focused then
|
||||
if (WatchVar <> '') and (SE.SourceNotebook.Active or SE.EditorComponent.Focused) then
|
||||
begin
|
||||
Watches.CurrentWatches.BeginUpdate;
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user