summaryrefslogtreecommitdiff
path: root/src/ui.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui.py b/src/ui.py
index 6f9cde8..d5c5c2a 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -457,14 +457,13 @@ class KPMainWindow(QtGui.QMainWindow):
self.doodadSelectorDock.show()
elif isinstance(layer, KPTileLayer):
+ KP.map.reloadTileset(layer.tileset)
+
self.doodadSelectorDock.hide()
self.objectSelectorDock.show()
self.objectSelector.setModel(KP.map.loadedTilesets[layer.tileset].getModel())
- print 'Reloading ', layer.tileset
- KP.map.reloadTileset(layer.tileset)
-
@QtCore.pyqtSlot(int, KPTileObject)
def handleSelectedObjectChanged(self, index, obj):