Skip to content
Permalink
Browse files

Do not trigger file reload prompt after file access. See https://www.…

  • Loading branch information
ansgarbecker committed Nov 29, 2019
1 parent 94b398b commit 91216336e81a9596fb4163cc19b8edc209fecffa
Showing with 2 additions and 0 deletions.
  1. +2 −0 source/main.pas
@@ -13100,6 +13100,8 @@ constructor TQueryTab.Create;
DirectoryWatch.OnNotify := DirectoryWatchNotify;
// Do not trigger useless file deletion messages, see issue #2948
DirectoryWatch.WatchActions := DirectoryWatch.WatchActions - [waRemoved];
// Do not trigger file access. See https://www.heidisql.com/forum.php?t=15500
DirectoryWatch.WatchOptions := DirectoryWatch.WatchOptions - [woLastAccess];
// Timer which postpones calling waModified event code until buffers have been saved
MemofileModifiedTimer := TTimer.Create(Memo);
MemofileModifiedTimer.Interval := 1000;

0 comments on commit 9121633

Please sign in to comment.
You can’t perform that action at this time.