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 e96b062..0eaddc0 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -446,7 +446,7 @@ class KPMainWindow(QtGui.QMainWindow):
self.objectSelectorDock.hide()
self.doodadSelectorDock.show()
- else:
+ elif isinstance(layer, KPTileLayer):
self.doodadSelectorDock.hide()
self.objectSelectorDock.show()