You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/plugins/plugin_installer/installer_gui.py
+34-50
Original file line number
Diff line number
Diff line change
@@ -571,6 +571,10 @@ def installPlugin(self):
571
571
ifplugin["status"] =="newer"andnotplugin["error"]: # ask for confirmation if user downgrades an usable plugin
572
572
ifQMessageBox.warning(self, self.tr("QGIS Python Plugin Installer"), self.tr("Are you sure you want to downgrade the plugin to the latest available version? The installed one is newer!"), QMessageBox.Yes, QMessageBox.No) ==QMessageBox.No:
573
573
return
574
+
ifplugin["status"] =="newer":
575
+
ifQMessageBox.warning(self, self.tr("QGIS Python Plugin Installer"), self.tr("Are you sure you want to downgrade the plugin to the latest available version? The installed one is newer!"), QMessageBox.Yes, QMessageBox.No) ==QMessageBox.No:
infoString= (self.tr("Plugin has disappeared"), self.tr("The plugin seems to have been installed but I don't know where. Probably the plugin package contained a wrong named directory.\nPlease search the list of installed plugins. I'm nearly sure you'll find the plugin there, but I just can't determine which of them it is. It also means that I won't be able to determine if this plugin is installed and inform you about available updates. However the plugin may work. Please contact the plugin author and submit this issue."))
593
+
QApplication.setOverrideCursor(Qt.WaitCursor)
594
+
self.getAllAvailablePlugins()
595
+
QApplication.restoreOverrideCursor()
600
596
else:
601
-
ifplugin["error"] =="incompatible":
602
-
message=self.tr("The plugin is designed for a newer version of Quantum GIS. The minimum required version is:")
603
-
message+=" <b>"+plugin["error_details"] +"</b>"
604
-
elifplugin["error"] =="dependent":
605
-
message=self.tr("The plugin depends on some components missing on your system. You need to install the following Python module in order to enable it:")
606
-
message+="<b> "+plugin["error_details"] +"</b>"
607
-
else:
608
-
message=self.tr("The plugin is broken. Python said:")
0 commit comments