summaryrefslogtreecommitdiff
path: root/src/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.py')
-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):