浏览代码

UPD: Cocoa: LCLCOCOA in TFileViewNotebook.DragDrop() removed by new Lcl/Cocoa version

rich2014 2 年之前
父节点
当前提交
3e75dd0515
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/ufileviewnotebook.pas

+ 0 - 5
src/ufileviewnotebook.pas

@@ -742,12 +742,7 @@ begin
     begin
       // Move within the same panel.
       if ATabIndex <> -1 then
-      begin
         Tabs.Move(FDraggedPageIndex, ATabIndex);
-        {$IFDEF LCLCOCOA}
-        GetPage(ATabIndex).MakeActive;
-        {$ENDIF}
-      end;
     end
     else if (SourceNotebook.FDraggedPageIndex < SourceNotebook.PageCount) then
     begin