diff options
Diffstat (limited to 'src/ui.py')
-rw-r--r-- | src/ui.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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): |