From fce411e09dbf5a4cf33d4323566859d611184edb Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 10 Nov 2016 14:47:22 +0100 Subject: [PATCH] runnables, comp and run with args, only ask args if comp successful --- src/ce_main.pas | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ce_main.pas b/src/ce_main.pas index 0decb860..54e6c1bc 100644 --- a/src/ce_main.pas +++ b/src/ce_main.pas @@ -2789,9 +2789,7 @@ var begin if fDoc.isNil then exit; - if not InputQuery('Execution arguments', '', runargs) then - exit; - if compileRunnable(false) then + if compileRunnable(false) and InputQuery('Execution arguments', '', runargs) then executeRunnable(false, true, runargs); end;