Browse Source

Bug 1415: Failure when system-wide settings change while panel is being reloaded

https://winscp.net/tracker/1415

Source commit: 13120e55765742f9bc25bc109a41f09a947264a0
Martin Prikryl 9 years ago
parent
commit
95582570fc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      source/packages/filemng/CustomDirView.pas

+ 2 - 0
source/packages/filemng/CustomDirView.pas

@@ -1187,6 +1187,8 @@ begin
   // to force drag&drop re-registration when recreating handle
   // (occurs when changing ViewStyle)
   FDragDropFilesEx.DragDropControl := nil;
+  // Destroy the animation, as we keep getting reports that the animation fails to recreate
+  DoAnimation(False);
   inherited;
 end;