diff options
| -rw-r--r-- | src/main.py | 3 | ||||
| -rw-r--r-- | src/ui.py | 2 | 
2 files changed, 3 insertions, 2 deletions
| diff --git a/src/main.py b/src/main.py index 927c970..ebf762f 100644 --- a/src/main.py +++ b/src/main.py @@ -1,5 +1,4 @@  from common import * -from ui import KPMainWindow  class KP:  	@staticmethod @@ -12,6 +11,8 @@ class KP:  		KP.newMap() +		from ui import KPMainWindow +		  		KP.mainWindow = KPMainWindow()  		KP.mainWindow.show() @@ -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): | 
