Mercurial > fife-parpg
diff clients/editor/plugins/LayerTool.py @ 359:ad5818097cd6
* Some cleanups for Editor class to match new coding standards
* Minor cleanups in imports
author | cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 26 Sep 2009 10:38:24 +0000 |
parents | 8f64a9d1e7ab |
children | 598547404022 |
line wrap: on
line diff
--- a/clients/editor/plugins/LayerTool.py Sat Sep 26 09:51:11 2009 +0000 +++ b/clients/editor/plugins/LayerTool.py Sat Sep 26 10:38:24 2009 +0000 @@ -77,7 +77,7 @@ self._editor = scripts.editor.getEditor() self._action_show = Action(u"LayerTool", checkable=True) scripts.gui.action.activated.connect(self.toggle, sender=self._action_show) - self._editor._toolsMenu.addAction(self._action_show) + self._editor._tools_menu.addAction(self._action_show) self._createGui() @@ -94,7 +94,7 @@ events.postMapShown.disconnect(self.update) - self._editor._toolsMenu.removeAction(self._action_show) + self._editor._tools_menu.removeAction(self._action_show) def isEnabled(self): """ Returns True if plugin is enabled """