Skip to content

Commit

Permalink
Fix unicode issue for showing window title
Browse files Browse the repository at this point in the history
  • Loading branch information
tzutalin committed Mar 9, 2017
1 parent 29f62ad commit 910cd73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labelImg.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ def loadFile(self, filePath=None):
xmlPath = os.path.join(self.defaultSaveDir, basename)
self.loadPascalXMLByFilename(xmlPath)

self.setWindowTitle('{} - {}'.format(__appname__, filePath))
self.setWindowTitle(__appname__ + ' ' + filePath)

self.canvas.setFocus(True)
return True
Expand Down

0 comments on commit 910cd73

Please sign in to comment.