Fold createToolWidget into SelectBlockTool.__init__

This commit is contained in:
David Vierra 2015-05-11 18:24:08 -10:00
parent 3e2b004cea
commit 103a5d9728

View File

@ -23,10 +23,7 @@ class SelectBlockTool(EditorTool):
:type editorSession: EditorSession
"""
super(SelectBlockTool, self).__init__(editorSession, *args, **kwargs)
self.createToolWidget()
self.mousePos = None
def createToolWidget(self):
self.toolWidget = load_ui("editortools/select_block.ui")
def mousePress(self, event):