From 70f4c4eb013852d2475d41a3cfd45a324a51e47b Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Tue, 28 Jun 2011 16:56:08 +0200 Subject: [PATCH] Actually store the values in DefaultAttributeHandler --- sloth/gui/propertyeditor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sloth/gui/propertyeditor.py b/sloth/gui/propertyeditor.py index 6b1ad1b..ae1556d 100644 --- a/sloth/gui/propertyeditor.py +++ b/sloth/gui/propertyeditor.py @@ -90,6 +90,7 @@ class DefaultAttributeHandler(QGroupBox, AbstractAttributeHandler): return self._defaults def addValue(self, v): + self._values.append(v) button = QPushButton(v, self) button.setFlat(True) button.setCheckable(True)