From 85ff17dcff610cb2b2131703456e6a225a863252 Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Tue, 23 Mar 2021 23:07:13 -0400 Subject: [PATCH] macro_line: recalculate memory when type is changed --- src/main/python/macro_line.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/python/macro_line.py b/src/main/python/macro_line.py index 0d63986..134bc2c 100644 --- a/src/main/python/macro_line.py +++ b/src/main/python/macro_line.py @@ -78,6 +78,7 @@ class MacroLine(QObject): self.action = self.type_to_cls[self.select_type.currentIndex()](self.container) self.action.changed.connect(self.on_change) self.action.insert(self.row) + self.changed.emit() def on_remove_clicked(self): self.parent.on_remove(self)