mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Update python/plugins/processing/modeler/EditModelAction.py
Co-Authored-By: volaya <volayaf@gmail.com>
This commit is contained in:
parent
a86965e94b
commit
9bdaac9dd0
@ -45,7 +45,7 @@ class EditModelAction(ContextAction):
|
||||
alg = self.itemData
|
||||
ok, msg = alg.canExecute()
|
||||
if not ok:
|
||||
iface.messageBar().pushMessage("Cannot edit model:", msg, level=Qgis.Warning)
|
||||
iface.messageBar().pushMessage(QCoreApplication.translate('EditModelAction', 'Cannot edit model: {}').format(msg), level=Qgis.Warning)
|
||||
else:
|
||||
dlg = ModelerDialog(alg)
|
||||
dlg.update_model.connect(self.updateModel)
|
||||
|
Loading…
x
Reference in New Issue
Block a user