Explorar el Código

放开云版附件,有事冲我来。

CSL hace 9 años
padre
commit
14c8bc58f3
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 2 0
      Forms/UpFileManageFrame.pas
  2. 0 1
      Frames/ProjectFme.dfm

+ 2 - 0
Forms/UpFileManageFrame.pas

@@ -380,6 +380,8 @@ end;
 procedure TUpFileManageView.btnDownClick(Sender: TObject);
 var sFile: string;
 begin
+  if not Assigned(Selected) then Exit;
+
   Screen.Cursor := crHourGlass;
   try
     Selected.Data.Status := ufsDowning;

+ 0 - 1
Frames/ProjectFme.dfm

@@ -213,7 +213,6 @@ object ProjectFrame: TProjectFrame
           Enabled = False
           ImageIndex = 6
           Style = tbsCheck
-          Visible = False
           OnClick = tobtnUpFileClick
         end
         object tobtnBookmark: TToolButton