Simplify expression in MoveFinishCommand

This commit is contained in:
David Vierra 2015-09-09 21:10:26 -10:00
parent 8d7c5e860f
commit c83382e010

View File

@ -75,7 +75,7 @@ class MoveFinishCommand(SimpleRevisionCommand):
def redo(self):
super(MoveFinishCommand, self).redo()
self.previousSelection = self.editorSession.currentSelection
self.editorSession.currentSelection = BoundingBox(self.pendingImport.pos, self.pendingImport.bounds.size)
self.editorSession.currentSelection = self.pendingImport.bounds
self.moveTool.removePendingImport(self.pendingImport)