show error message as message in error detail

This commit is contained in:
iLLiCiTiT 2021-03-29 13:05:27 +02:00
parent 68e5e7df21
commit e9b4e7ea43

View file

@ -1013,7 +1013,9 @@ class TerminalModel(QtGui.QStandardItemModel):
all_record_items = []
for record_item in record_items:
record_type = record_item["type"]
# Add error message to detail
if record_type == "error":
record_item["msg"] = record_item["label"]
terminal_item_type = None
if record_type == "record":
for level, _type in self.level_to_record: