Parcourir la source

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

CSL il y a 9 ans
Parent
commit
14c8bc58f3
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  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