Blob Blame History Raw
From 6e252f9ec89aff74251c633ee4db58b432ffe078 Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean@redhat.com>
Date: Mon, 28 Apr 2014 11:12:29 -0400
Subject: [PATCH] Fix buttons

---
 tw2/forms/widgets.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tw2/forms/widgets.py b/tw2/forms/widgets.py
index 256e750..d2fd160 100755
--- a/tw2/forms/widgets.py
+++ b/tw2/forms/widgets.py
@@ -687,6 +687,7 @@ class Form(twc.DisplayOnlyWidget):
 
     def __init__(self, **kw):
         super(Form, self).__init__(**kw)
+        self.safe_modify('buttons')
         if self.buttons:
             for b in range(0, len(self.buttons)):
                 self.buttons[b] = self.buttons[b].req()
-- 
1.9.0