diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-02-17 12:20:40 -0600 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-02-17 12:20:40 -0600 |
commit | d6903bed3ebf170a68be7a4891df6a2fb5f31dc7 (patch) | |
tree | ba2a5ba995484adf3d8c1d968ca6d35ce79a1a9c /src/ui.py | |
parent | 41d8073ac1b00409827968308689c6844bdf7ab8 (diff) | |
parent | 0228ba7dc04e3d4c44c9ebe31f78ab90aa11b48d (diff) | |
download | koopatlas-d6903bed3ebf170a68be7a4891df6a2fb5f31dc7.tar.gz koopatlas-d6903bed3ebf170a68be7a4891df6a2fb5f31dc7.zip |
Merge branch 'master' of ssh://treeki.rustedlogic.net:30000/Koopatlas
Diffstat (limited to 'src/ui.py')
-rw-r--r-- | src/ui.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -328,21 +328,25 @@ class KPLayerList(QtGui.QWidget): def moveUp(self): index = self.selectedLayerIndex() KP.map.moveLayer(index, index - 1) + self.setButtonStates() KP.mainWindow.editor.viewport().update() def moveDown(self): index = self.selectedLayerIndex() KP.map.moveLayer(index, index + 2) + self.setButtonStates() KP.mainWindow.editor.viewport().update() def moveTop(self): index = self.selectedLayerIndex() KP.map.moveLayer(index, 0) + self.setButtonStates() KP.mainWindow.editor.viewport().update() def moveBottom(self): index = self.selectedLayerIndex() KP.map.moveLayer(index, len(KP.map.layers)) + self.setButtonStates() KP.mainWindow.editor.viewport().update() |