Browse Source

Bug fix: Mouse cursor flickers while retrieving remote file properties

Source commit: 3236fd31e5e1734207d6b8f5fd99722603468cab
Martin Prikryl 3 years ago
parent
commit
3082ca4322
1 changed files with 3 additions and 0 deletions
  1. 3 0
      source/core/Terminal.cpp

+ 3 - 0
source/core/Terminal.cpp

@@ -4366,6 +4366,9 @@ void __fastcall TTerminal::ChangeFilesProperties(TStrings * FileList,
 //---------------------------------------------------------------------------
 bool __fastcall TTerminal::LoadFilesProperties(TStrings * FileList)
 {
+  TValueRestorer<bool> UseBusyCursorRestorer(FUseBusyCursor);
+  FUseBusyCursor = false;
+
   // see comment in TSFTPFileSystem::IsCapable
   bool Result =
     IsCapable[fcLoadingAdditionalProperties] &&