[Debian-live-changes] r2223 - dists/trunk/live-magic/livemagic/controllers

lamby-guest at alioth.debian.org lamby-guest at alioth.debian.org
Wed Jun 20 21:18:01 UTC 2007


Author: lamby-guest
Date: 2007-06-20 21:18:00 +0000 (Wed, 20 Jun 2007)
New Revision: 2223

Modified:
   dists/trunk/live-magic/livemagic/controllers/hooks.py
Log:


Modified: dists/trunk/live-magic/livemagic/controllers/hooks.py
===================================================================
--- dists/trunk/live-magic/livemagic/controllers/hooks.py	2007-06-20 20:44:13 UTC (rev 2222)
+++ dists/trunk/live-magic/livemagic/controllers/hooks.py	2007-06-20 21:18:00 UTC (rev 2223)
@@ -60,6 +60,7 @@
             self.model.hooks.rename(hook_name, new_hook_name)
             self.notify_load_hooks()
             self.view.do_set_selected_hook(new_hook_name)
+            self.view.set_save_enabled(True)
         except ValueError:
             self.view.do_show_error("The name already exists")
 
@@ -71,6 +72,7 @@
             self.notify_load_hooks()
             self.view.do_clear_hook_contents()
             self.view.do_enable_edit_hook(False)
+            self.view.set_save_enabled(True)
 
     def on_hook_editor_changed(self, *_):
         if self.hook_select_triggers_change:




More information about the Debian-live-changes mailing list