Minor change
This commit is contained in:
parent
29d983ce4c
commit
c29cf02d85
@ -58,7 +58,8 @@ def main():
|
|||||||
try:
|
try:
|
||||||
url = processing.run("quickosm:buildqueryextent", {"EXTENT": iface.mapCanvas().extent()})["OUTPUT_URL"]
|
url = processing.run("quickosm:buildqueryextent", {"EXTENT": iface.mapCanvas().extent()})["OUTPUT_URL"]
|
||||||
except QgsProcessingException:
|
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
|
# Barre de chargement animée
|
||||||
qApp.setOverrideCursor(Qt.WaitCursor)
|
qApp.setOverrideCursor(Qt.WaitCursor)
|
||||||
|
Loading…
Reference in New Issue
Block a user