aboutsummaryrefslogtreecommitdiff
path: root/src/gui/actions.py
diff options
context:
space:
mode:
authortassaron2017-08-20 18:36:43 -0400
committertassaron2017-08-20 18:36:43 -0400
commit6bf8a553d6170e0ca6e7d2002e46ae327a6e5e81 (patch)
treeb97c9c2d334772fff1c38c5a6a2a4a5b3e6863e4 /src/gui/actions.py
parentbe9eb9077b2234e6d91c78d70bb8e1d8347b03aa (diff)
don't merge undos when setting text with a button
plus changes to life.py for pep8 compliance
Diffstat (limited to 'src/gui/actions.py')
-rw-r--r--src/gui/actions.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/actions.py b/src/gui/actions.py
index f101bd7..ebd9702 100644
--- a/src/gui/actions.py
+++ b/src/gui/actions.py
@@ -32,7 +32,6 @@ class AddComponent(QUndoCommand):
self.parent.core.insertComponent(
self.compI, self.comp, self.parent)
-
def undo(self):
self.comp = self.parent.core.selectedComponents[self.compI]
self.parent._removeComponent(self.compI)