Previously active tool is now set correctly once something is selected again

CURA-1481
This commit is contained in:
Jaime van Kessel 2016-09-05 16:20:12 +02:00
parent 122d117ef6
commit 9a28b0d433

View file

@ -511,8 +511,6 @@ class CuraApplication(QtApplication):
if self.getController().getActiveTool():
self._previous_active_tool = self.getController().getActiveTool().getPluginId()
self.getController().setActiveTool(None)
else:
self._previous_active_tool = None
def _onToolOperationStopped(self, event):
if self._center_after_select: