]> matita.cs.unibo.it Git - helm.git/commitdiff
Bug fixed (introduced in previous commit): opening multiple files requires first
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 23 Dec 2010 22:14:44 +0000 (22:14 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 23 Dec 2010 22:14:44 +0000 (22:14 +0000)
the creation of the newScript to be replaced.

matita/matita/matita.ml

index 9ea6933440c857c71d5d16dc4280dac09b59d977..94a34570aa7b8607941a6b83d950ae44147b4ccc 100644 (file)
@@ -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 ()