Recent

Author Topic: 'Publish Project' - more idiot proofing needed?  (Read 4703 times)

wes12

  • New Member
  • *
  • Posts: 21
'Publish Project' - more idiot proofing needed?
« on: March 02, 2005, 04:41:57 pm »
I've just suceeded in deleting a whole project after trying to play with the 'Publish Project' option by pointing the publish directory to the project source. OK, its my own stupid mistake :oops:, but a few more safeguards in TMainIDE.DoPublishModule might be useful for idiots like me e.g

if SrcDirectory = DestDirectory then begin
 // some error message output here
    Result:=mrCancel;
    exit;
  end;

 

TinyPortal © 2005-2018