1
0
Эх сурвалжийг харах

Bug fix: When dragging files to other session tabs, drag cursor could change to "Move", although only "Copy" is possible.

(cherry picked from commit b5db25ca7d269170aeafc1815947695a75a8c122)

Source commit: 6c701629157d158b0d70435a8ac814edffb7e8cc
Martin Prikryl 7 жил өмнө
parent
commit
d8177f8ced

+ 4 - 0
source/forms/CustomScpExplorer.cpp

@@ -9083,6 +9083,10 @@ void __fastcall TCustomScpExplorerForm::SessionsDDDragOver(int /*KeyState*/,
     {
       Effect = DROPEFFECT_None;
     }
+    else if ((TargetTerminal != Terminal) && (Effect == DROPEFFECT_Move))
+    {
+      Effect = DROPEFFECT_Copy;
+    }
   }
 }
 //---------------------------------------------------------------------------