Move/Clone tools return to Select tool after confirm.
This commit is contained in:
parent
05d844c72a
commit
a12574d987
@ -68,6 +68,7 @@ class CloneFinishCommand(SimpleRevisionCommand):
|
|||||||
self.previousSelection = self.editorSession.currentSelection
|
self.previousSelection = self.editorSession.currentSelection
|
||||||
self.editorSession.currentSelection = self.pendingImport.bounds
|
self.editorSession.currentSelection = self.pendingImport.bounds
|
||||||
self.cloneTool.pendingClone = None
|
self.cloneTool.pendingClone = None
|
||||||
|
self.editorSession.chooseTool("Select")
|
||||||
|
|
||||||
|
|
||||||
class CloneTool(EditorTool):
|
class CloneTool(EditorTool):
|
||||||
|
@ -92,6 +92,7 @@ class MoveFinishCommand(SimpleRevisionCommand):
|
|||||||
self.editorSession.currentSelection = self.pendingImport.importBounds
|
self.editorSession.currentSelection = self.pendingImport.importBounds
|
||||||
self.moveTool.currentImport = None
|
self.moveTool.currentImport = None
|
||||||
#self.moveTool.removePendingImport(self.pendingImport)
|
#self.moveTool.removePendingImport(self.pendingImport)
|
||||||
|
self.editorSession.chooseTool("Select")
|
||||||
|
|
||||||
|
|
||||||
class MoveTool(EditorTool):
|
class MoveTool(EditorTool):
|
||||||
|
Reference in New Issue
Block a user