- for whatever reason, using directly the name of the object in a

QtGui.QStadardItem is creating issues in the tests. Converting it to a
string solve this. After solving the conflict in the pull request this
modification was lost so I am doing it again.
- the FlatCAMObj.FlatCAMGerber.isolate() method is having the line
app.obj.info() which randomly create issues due of using QPixMaps outside
of the GUI thread.
This commit is contained in:
Marius Stanciu
2018-05-30 18:39:04 +03:00
parent 3298da6dc5
commit 4cf06b71e8
2 changed files with 5 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ class ObjectCollection():
# Create the model item to insert into the QListView
icon = QtGui.QIcon(self.icons[obj.kind]) # self.icons["gerber"])
item = QtGui.QStandardItem(icon, name)
item = QtGui.QStandardItem(icon, str(name))
# Item is not editable, so that double click
# does not allow cell value modification.
item.setEditable(False)