eric6/PluginManager/PluginRepositoryDialog.py

changeset 7955
567f2ec958c3
parent 7946
6901746220fc
child 7960
e8fc383322f7
--- a/eric6/PluginManager/PluginRepositoryDialog.py	Mon Jan 04 16:39:09 2021 +0100
+++ b/eric6/PluginManager/PluginRepositoryDialog.py	Mon Jan 04 16:39:37 2021 +0100
@@ -346,7 +346,7 @@
             ui = e5App().getObject("UserInterface")
         else:
             ui = None
-        if ui and ui.notificationsEnabled():
+        if ui is not None:
             ui.showNotification(
                 UI.PixmapCache.getPixmap("plugin48"),
                 self.tr("Download Plugin Files"),
@@ -355,11 +355,12 @@
         if self.__isDownloadInstall:
             self.closeAndInstall.emit()
         else:
-            if ui is None or not ui.notificationsEnabled():
+            if ui is None:
                 E5MessageBox.information(
                     self,
                     self.tr("Download Plugin Files"),
                     self.tr("""The requested plugins were downloaded."""))
+            
             self.downloadProgress.setValue(0)
             
             # repopulate the list to update the refresh icons

eric ide

mercurial