Cast filepath to python string
This commit is contained in:
parent
3391ab632e
commit
eda381e437
@ -888,6 +888,9 @@ class MainWindow(QMainWindow, WindowMixin):
|
|||||||
if filePath is None:
|
if filePath is None:
|
||||||
filePath = self.settings.get(SETTING_FILENAME)
|
filePath = self.settings.get(SETTING_FILENAME)
|
||||||
|
|
||||||
|
# Make sure that filePath is a regular python string, rather than QString
|
||||||
|
filePath = str(filePath)
|
||||||
|
|
||||||
unicodeFilePath = ustr(filePath)
|
unicodeFilePath = ustr(filePath)
|
||||||
# Tzutalin 20160906 : Add file list and dock to move faster
|
# Tzutalin 20160906 : Add file list and dock to move faster
|
||||||
# Highlight the file item
|
# Highlight the file item
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user