add set_label hook
authorthomasv <thomasv@gitorious>
Tue, 12 Mar 2013 16:22:30 +0000 (17:22 +0100)
committerthomasv <thomasv@gitorious>
Tue, 12 Mar 2013 16:22:30 +0000 (17:22 +0100)
gui/gui_classic.py

index 829e546..ddab797 100644 (file)
@@ -373,6 +373,7 @@ class ElectrumWindow(QMainWindow):
             if old_text:
                 self.wallet.labels.pop(name)
                 changed = True
+        run_hook('set_label', name, text, changed)
         return changed