https://winscp.net/tracker/2331 Source commit: 5ddeed37ea4e3430ca1ef21d50dbed9abe7afc3d
@@ -926,6 +926,8 @@ var
Point: TPoint;
PrevAutoPopup: Boolean;
begin
+ // Not sure what is this exactly for, as without AutoPopup, the inherited WMContextMenu is almost noop.
+ // In general it would be better to override DoContextPopup
PrevAutoPopup := False;
try
if Assigned(PopupMenu) then
@@ -1117,9 +1117,6 @@ var
inherited;
- if Assigned(PopupMenu) then
- PopupMenu.Autopopup := False;
-
FDragDropFilesEx.SourceEffects := [deCopy, deMove, deLink];
FDragDropFilesEx.TargetEffects := [deCopy, deMove, deLink];