Skip to content

Commit

Permalink
added support for Unicode translations in fTools visuals
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Burkhart authored and Nick Burkhart committed Nov 30, 2015
1 parent 0b9ac8b commit 1bf8997
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 1bf8997

Please sign in to comment.