Commit 1c8951b7 authored by Maxime Perrotin's avatar Maxime Perrotin

Add message name property

parent ce6e3b88
......@@ -267,6 +267,8 @@ class asn1Editor(QTreeView):
self.tm_clients = []
# Instance of the ASN.1 type to store the value of this editor
self.asn1Instance = None
# TM or TC name (set when the ASN.1 message is defined)
self.messageName = ""
def setBackend(self, backend):
''' Set the pointer to the TMTC backend generated by the B mapper '''
......@@ -292,6 +294,7 @@ class asn1Editor(QTreeView):
self.item = dataview
rootItem = self.addItem(self.item)
self.treeItem = rootItem["item"]
self.messageName = self.treeItem.text()
self.model.setItem(row, 1, QStandardItem(rootItem["type"]))
self.model.setItem(row, 2, QStandardItem(rootItem["constraint"]))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment