mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[processing] handle non-ASCII characters in modeller algorithm list
This commit is contained in:
parent
fa3f21cdb6
commit
a37b7e4e72
@ -309,7 +309,7 @@ class ModelerDialog(QDialog, Ui_DlgModeler):
|
||||
# for the first time, we do it here.
|
||||
if self.help:
|
||||
with open(self.descriptionFile + '.help', 'w') as f:
|
||||
json.dump(self.help, f)
|
||||
json.dump(self.help, f)
|
||||
self.help = None
|
||||
QMessageBox.information(self, self.tr('Model saved'),
|
||||
self.tr('Model was correctly saved.'))
|
||||
@ -508,7 +508,7 @@ class ModelerDialog(QDialog, Ui_DlgModeler):
|
||||
|
||||
def fillAlgorithmTreeUsingProviders(self):
|
||||
self.algorithmTree.clear()
|
||||
text = str(self.searchBox.text())
|
||||
text = unicode(self.searchBox.text())
|
||||
allAlgs = ModelerUtils.getAlgorithms()
|
||||
for providerName in allAlgs.keys():
|
||||
groups = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user