Procházet zdrojové kódy

Bug 1829: Failure when changing directory using tree after resuming system from sleep

https://winscp.net/tracker/1829

Source commit: d546d0d568359b894434d8b42c7f114efb42a0f1
Martin Prikryl před 5 roky
rodič
revize
2f38385bfb
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      source/components/UnixDriveView.cpp

+ 2 - 0
source/components/UnixDriveView.cpp

@@ -70,6 +70,8 @@ void __fastcall TCustomUnixDriveView::CreateWnd()
   TCustomDriveView::CreateWnd();
 
   FDragDropFilesEx->TargetEffects = TDropEffectSet() << deCopy << deMove;
+  // in case the items were recreated
+  FPrevSelected = Selected;
 }
 //---------------------------------------------------------------------------
 void __fastcall TCustomUnixDriveView::SetTerminal(TTerminal * value)