Reverted changes

This commit is contained in:
uenz 2021-01-03 14:31:18 +01:00
parent 25785393fc
commit 694e278c0c
1 changed files with 2 additions and 3 deletions

View File

@ -1931,9 +1931,8 @@ class App(QtCore.QObject):
:return: None
"""
# shell tool has to be initialized always first because other tools print messages in the Shell Dock, but only if it not al´ready exists
if (hasattr(self,"shell") and self.shell is None) or hasattr(self,"shell")==False:
self.shell = FCShell(app=self, version=self.version)
# shell tool has t obe initialized always first because other tools print messages in the Shell Dock
self.shell = FCShell(app=self, version=self.version)
self.distance_tool = Distance(self)
self.distance_tool.install(icon=QtGui.QIcon(self.resource_location + '/distance16.png'), pos=self.ui.menuedit,