diff options
Diffstat (limited to '')
-rw-r--r-- | src/mapdata.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mapdata.py b/src/mapdata.py index 1eb35c8..ea62111 100644 --- a/src/mapdata.py +++ b/src/mapdata.py @@ -556,9 +556,11 @@ class KPMap(object): doodad = self.list[index.row()] if role == Qt.DecorationRole: - return doodad[1] + return QtGui.QIcon(doodad[1]) elif role == Qt.ToolTipRole: return doodad[0] + elif role == Qt.DisplayRole: + return doodad[0] except IndexError: pass |