Skip to content

Commit

Permalink
Merge pull request #2520 from nicanor-b/master
Browse files Browse the repository at this point in the history
Added support for Unicode translations in fTools visual
  • Loading branch information
m-kuhn committed Nov 30, 2015
2 parents 0b9ac8b + 1bf8997 commit 1c2454f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/plugins/fTools/tools/doVisual.py
Expand Up @@ -180,7 +180,10 @@ def runFinishedFromThread(self, output):
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])
Expand Down

0 comments on commit 1c2454f

Please sign in to comment.