mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Previously active tool is now set correctly once something is selected again
CURA-1481
This commit is contained in:
parent
122d117ef6
commit
9a28b0d433
1 changed files with 0 additions and 2 deletions
|
@ -511,8 +511,6 @@ class CuraApplication(QtApplication):
|
||||||
if self.getController().getActiveTool():
|
if self.getController().getActiveTool():
|
||||||
self._previous_active_tool = self.getController().getActiveTool().getPluginId()
|
self._previous_active_tool = self.getController().getActiveTool().getPluginId()
|
||||||
self.getController().setActiveTool(None)
|
self.getController().setActiveTool(None)
|
||||||
else:
|
|
||||||
self._previous_active_tool = None
|
|
||||||
|
|
||||||
def _onToolOperationStopped(self, event):
|
def _onToolOperationStopped(self, event):
|
||||||
if self._center_after_select:
|
if self._center_after_select:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue