From a9afd40d8d1b517a474afe7dcb77197831b1bd75 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Thu, 23 Dec 2010 22:14:44 +0000 Subject: [PATCH] Bug fixed (introduced in previous commit): opening multiple files requires first the creation of the newScript to be replaced. --- matita/matita/matita.ml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/matita/matita/matita.ml b/matita/matita/matita.ml index 9ea693344..94a34570a 100644 --- a/matita/matita/matita.ml +++ b/matita/matita/matita.ml @@ -112,10 +112,8 @@ let _ = let args = Helm_registry.get_list Helm_registry.string "matita.args" in let gui = MatitaGui.instance () in init_debugging_menu gui; - if args = [] then - gui#newScript () - else - List.iter gui#loadScript (List.rev args); + gui#newScript (); + List.iter gui#loadScript (List.rev args); gui#main#mainWin#show (); try GtkThread.main () -- 2.39.2