mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
ADD: Auto refresh - Don't react to notifications while in the background
This commit is contained in:
parent
d40a4b1084
commit
068097536c
1 changed files with 2 additions and 0 deletions
|
|
@ -3126,11 +3126,13 @@ end;
|
|||
|
||||
procedure TfrmMain.LeftFrameOnWatcherNotifyEvent(NotifyEvent: TWatchFilter);
|
||||
begin
|
||||
if (not Focused) and (watch_only_foreground in gWatchDirs) then Exit;
|
||||
FrameLeft.RefreshPanel;
|
||||
end;
|
||||
|
||||
procedure TfrmMain.RightFrameOnWatcherNotifyEvent(NotifyEvent: TWatchFilter);
|
||||
begin
|
||||
if (not Focused) and (watch_only_foreground in gWatchDirs) then Exit;
|
||||
FrameRight.RefreshPanel;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue