Minor change

This commit is contained in:
Jacky Volpes 2021-02-25 11:25:52 +01:00
parent 29d983ce4c
commit c29cf02d85

View File

@ -58,7 +58,8 @@ def main():
try:
url = processing.run("quickosm:buildqueryextent", {"EXTENT": iface.mapCanvas().extent()})["OUTPUT_URL"]
except QgsProcessingException:
raise Exception("Vous n'avez pas installé l'extension QuickOSM")
QMessageBox.warning(iface.mainWindow(), "Attention", "Vous n'avez pas installé l'extension QuickOSM")
return
# Barre de chargement animée
qApp.setOverrideCursor(Qt.WaitCursor)