瀏覽代碼

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

https://winscp.net/tracker/1415

Source commit: 13120e55765742f9bc25bc109a41f09a947264a0
Martin Prikryl 9 年之前
父節點
當前提交
95582570fc
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;