]> matita.cs.unibo.it Git - helm.git/commitdiff
Bug fixed: the script Menu was not locked as expected.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 3 Oct 2006 08:31:25 +0000 (08:31 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 3 Oct 2006 08:31:25 +0000 (08:31 +0000)
matita/matitaGui.ml

index 85d72ebe080b139f13778c62df915a8744829111..adb9bf753fc05fa9f05fa21be0451177383fc469 100644 (file)
@@ -415,11 +415,13 @@ class gui () =
       let lock_world _ =
         main#buttonsToolbar#misc#set_sensitive false;
         develList#buttonsHbox#misc#set_sensitive false;
+        main#scriptMenu#misc#set_sensitive false;
         source_view#set_editable false
       in
       let unlock_world _ =
         main#buttonsToolbar#misc#set_sensitive true;
         develList#buttonsHbox#misc#set_sensitive true;
+        main#scriptMenu#misc#set_sensitive true;
         source_view#set_editable true
       in
       let worker_thread = ref None in