Fix unicode issue for showing window title
This commit is contained in:
parent
29f62ad64f
commit
910cd73320
@ -833,7 +833,7 @@ class MainWindow(QMainWindow, WindowMixin):
|
|||||||
xmlPath = os.path.join(self.defaultSaveDir, basename)
|
xmlPath = os.path.join(self.defaultSaveDir, basename)
|
||||||
self.loadPascalXMLByFilename(xmlPath)
|
self.loadPascalXMLByFilename(xmlPath)
|
||||||
|
|
||||||
self.setWindowTitle('{} - {}'.format(__appname__, filePath))
|
self.setWindowTitle(__appname__ + ' ' + filePath)
|
||||||
|
|
||||||
self.canvas.setFocus(True)
|
self.canvas.setFocus(True)
|
||||||
return True
|
return True
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user