summaryrefslogtreecommitdiff
path: root/src/ui.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui.py b/src/ui.py
index 89b0674..6f9cde8 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -461,7 +461,10 @@ class KPMainWindow(QtGui.QMainWindow):
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):