Fold createToolWidget into SelectBlockTool.__init__
This commit is contained in:
parent
3e2b004cea
commit
103a5d9728
@ -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):
|
||||
|
Reference in New Issue
Block a user