Commit 3eee98f4 authored by Flavio TARSETTI's avatar Flavio TARSETTI

[widgets][databaseeditor] patch possible collision with python set.

Fixes #222
parent 2fe00b04
Pipeline #30797 passed with stage
in 19 minutes and 21 seconds
......@@ -138,9 +138,9 @@ class ProtocolViewer(QWidget):
self.name_label.setText(json_data["name"])
self.template_label.setText(json_data["template"])
for set in json_data["sets"]:
for set_ in json_data["sets"]:
set_viewer = SetViewer()
set_viewer.load(set)
set_viewer.load(set_)
index = self.sets_layout.count() - 1
self.sets_layout.insertWidget(index, set_viewer, 2)
self.set_viewers.append(set_viewer)
......
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