Skip to content

Commit

Permalink
fix validation FIcon error [validation] some bugs and improvements #373
Browse files Browse the repository at this point in the history
  • Loading branch information
antonylebechec committed Apr 12, 2022
1 parent edd585a commit 01f652f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cutevariant/gui/plugins/validation/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def data(self, index: QModelIndex, role: Qt.ItemDataRole) -> typing.Any:
# hex_icon = 0xF139A if item[key] == 1 else 0xF0FC7
# return QIcon(FIcon(hex_icon))

#return QIcon(FIcon(0xF139A)).toPixmap(20, 20)
#return QIcon(FIcon(0xF139A)).toPixmap(20, 20)
return FIcon(0xF139A)

# classification = self.model().item(section)["classification"] or 0
Expand Down

0 comments on commit 01f652f

Please sign in to comment.