Skip to content

Commit

Permalink
FEM: use addItem to add list items in shellthickness, beamsection and…
Browse files Browse the repository at this point in the history
… multimat ref shape list
  • Loading branch information
berndhahnebach committed Nov 8, 2015
1 parent 5e23448 commit 9d856fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Fem/_TaskPanelFemBeamSection.py
Expand Up @@ -108,7 +108,7 @@ def rebuild_list_References(self):
item_name = i[0].Name + ':' + i[1]
items.append(item_name)
for listItemName in sorted(items):
listItem = QtGui.QListWidgetItem(listItemName, self.form.list_References) # listItem = is needed
self.form.list_References.addItem(listItemName)


class ReferenceShapeSelectionObserver:
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/_TaskPanelFemShellThickness.py
Expand Up @@ -108,7 +108,7 @@ def rebuild_list_References(self):
item_name = i[0].Name + ':' + i[1]
items.append(item_name)
for listItemName in sorted(items):
listItem = QtGui.QListWidgetItem(listItemName, self.form.list_References) # listItem = is needed
self.form.list_References.addItem(listItemName)


class ReferenceShapeSelectionObserver:
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/_TaskPanelMechanicalMaterial.py
Expand Up @@ -276,7 +276,7 @@ def rebuild_list_References(self):
item_name = ref[0].Name
items.append(item_name)
for listItemName in sorted(items):
listItem = QtGui.QListWidgetItem(listItemName, self.form.list_References) # listItem = is needed
self.form.list_References.addItem(listItemName)


class ReferenceShapeSelectionObserver:
Expand Down

0 comments on commit 9d856fb

Please sign in to comment.