OSDN Git Service

ギコナビ更新で、再起動をせずにギコナビを終了すると、
authorh677 <h677>
Thu, 26 Feb 2009 15:02:06 +0000 (15:02 +0000)
committerh677 <h677>
Thu, 26 Feb 2009 15:02:06 +0000 (15:02 +0000)
Updateが走ってしまう不具合の修正

GikoDataModule.pas

index d277c05..23b68c1 100644 (file)
@@ -4582,8 +4582,10 @@ begin
     try
         form.ShowModal;
         shutdown := form.Allowshutdown;
-        GikoForm.UpdateExePath := form.ExecPath;
-        GikoForm.UpdateExeArgs := form.ExecArgs;
+        if shutdown then begin
+            GikoForm.UpdateExePath := form.ExecPath;
+            GikoForm.UpdateExeArgs := form.ExecArgs;
+        end;
     finally
         form.Release;
     end;