--- a/UI/UserInterface.py Fri Feb 15 19:52:36 2019 +0100 +++ b/UI/UserInterface.py Fri Feb 15 19:58:42 2019 +0100 @@ -840,13 +840,14 @@ UI.PixmapCache.getIcon("debugViewer.png"), self.tr("Debug-Viewer")) - # Create the conda package manager - logging.debug("Creating Conda Package Manager...") - from CondaInterface.CondaPackagesWidget import CondaPackagesWidget - self.condaWidget = CondaPackagesWidget(self.condaInterface) - self.rToolbox.addItem(self.condaWidget, - UI.PixmapCache.getIcon("miniconda.png"), - self.tr("Conda")) + if Preferences.getUI("ShowCondaPackageManager"): + # Create the conda package manager + logging.debug("Creating Conda Package Manager...") + from CondaInterface.CondaPackagesWidget import CondaPackagesWidget + self.condaWidget = CondaPackagesWidget(self.condaInterface) + self.rToolbox.addItem(self.condaWidget, + UI.PixmapCache.getIcon("miniconda.png"), + self.tr("Conda")) if Preferences.getUI("ShowCooperation"): # Create the chat part of the user interface @@ -989,13 +990,14 @@ self.debugViewer, UI.PixmapCache.getIcon("debugViewer.png"), self.tr("Debug-Viewer")) - # Create the conda package manager - logging.debug("Creating Conda Package Manager...") - from CondaInterface.CondaPackagesWidget import CondaPackagesWidget - self.condaWidget = CondaPackagesWidget(self.condaInterface) - self.rightSidebar.addTab( - self.condaWidget, UI.PixmapCache.getIcon("miniconda.png"), - self.tr("Conda")) + if Preferences.getUI("ShowCondaPackageManager"): + # Create the conda package manager + logging.debug("Creating Conda Package Manager...") + from CondaInterface.CondaPackagesWidget import CondaPackagesWidget + self.condaWidget = CondaPackagesWidget(self.condaInterface) + self.rightSidebar.addTab( + self.condaWidget, UI.PixmapCache.getIcon("miniconda.png"), + self.tr("Conda")) if Preferences.getUI("ShowCooperation"): # Create the chat part of the user interface