diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2019-05-03 19:27:54 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2019-05-03 19:27:54 +0200 |
commit | ca5b42577795d63e6e59bde31698edb5443b85e8 (patch) | |
tree | b541b5b15f8aca89b3db1a8e868f4ca0045a6f9c /src | |
parent | a848a6de5a18533e622c127e7b1f9f0833c250e3 (diff) |
Diffstat (limited to 'src')
-rw-r--r-- | src/ui_table.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui_table.py b/src/ui_table.py index db69beb..8286f5e 100644 --- a/src/ui_table.py +++ b/src/ui_table.py @@ -249,9 +249,10 @@ class SystemTable(QTableWidget): def clear(self): ElementEditorWindow.close_all() - system.elements = list() + self.system.elements = list() self.rows = list() self.clearContents() + self.setRowCount(0) GUI.do_update() def renumber_rows(self): |