diff options
author | Colin Noga <Tempus@chronometry.ca> | 2011-12-03 02:08:17 -0600 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2011-12-03 02:08:17 -0600 |
commit | bd62c887e956b658d3ec1b47099fa07882386d1f (patch) | |
tree | 8f839153a85e4a714985f9248de11f1645bcf19e /src/mapdata.py | |
parent | 3bdc780bd3eaa204b1df5d5e6727a876d5967401 (diff) | |
download | koopatlas-bd62c887e956b658d3ec1b47099fa07882386d1f.tar.gz koopatlas-bd62c887e956b658d3ec1b47099fa07882386d1f.zip |
Fixed up some UI stuff, added animation presets to make life easier for animations
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 |