summaryrefslogtreecommitdiff
path: root/src/ui.py
diff options
context:
space:
mode:
authorColin Noga <Tempus@Spectrum-Song.local>2011-11-03 00:19:43 -0500
committerColin Noga <Tempus@Spectrum-Song.local>2011-11-03 00:19:43 -0500
commit7635775ee641395eca839bf135ae29fbc2f64b23 (patch)
tree7f4b00621e08cf5187a6b08fe3c16400c57d9a1e /src/ui.py
parent870cf5ad6f121e3a0f69c7f1645dad59eded416b (diff)
downloadkoopatlas-7635775ee641395eca839bf135ae29fbc2f64b23.tar.gz
koopatlas-7635775ee641395eca839bf135ae29fbc2f64b23.zip
Fixed your problem by moving the import. Too much cross importing for my blood.
Diffstat (limited to '')
-rw-r--r--src/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.py b/src/ui.py
index 8fafd3b..fdb83f2 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -4,11 +4,11 @@ from editorui import *
class KPLayerList(QtGui.QWidget):
class LayerModel(QtCore.QAbstractListModel):
+
def headerData(self, section, orientation, role = Qt.DisplayRole):
return 'Layer'
def rowCount(self, parent):
- print globals().keys()
return len(KP.map.layers)
def data(self, index, role = Qt.DisplayRole):