mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
Merge pull request #2520 from nicanor-b/master
Added support for Unicode translations in fTools visual
This commit is contained in:
commit
1c2454fc0b
@ -180,7 +180,10 @@ class VisualDialog(QDialog, Ui_Dialog):
|
||||
else:
|
||||
self.tblUnique.setColumnCount(2)
|
||||
for rec in range(numRows):
|
||||
tmp = result[rec].split(":")
|
||||
if ":" not in result[rec]:
|
||||
tmp = result[rec].split(u"\uff1a")
|
||||
else:
|
||||
tmp = result[rec].split(":")
|
||||
item = QTableWidgetItem(tmp[0])
|
||||
self.tblUnique.setItem(rec, 0, item)
|
||||
item = QTableWidgetItem(tmp[1])
|
||||
|
Loading…
x
Reference in New Issue
Block a user