mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-14 01:42:28 +12:00
Moved incorrectly placed parameter to correct place. Closes #377.
This commit is contained in:
parent
2fdf8c64bf
commit
5f8168fb37
|
@ -552,9 +552,9 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
|||
If ``loadFromFile`` is False, then it does not load datas from file.
|
||||
It assumes that the datas have been populated in a different way."""
|
||||
if loadFromFile and not os.path.exists(project):
|
||||
print(self.tr("The file {} does not exist. Try again.").format(project))
|
||||
print(self.tr("The file {} does not exist. Has it been moved or deleted?").format(project))
|
||||
F.statusMessage(
|
||||
self.tr("The file {} does not exist. Try again.", importance=3).format(project))
|
||||
self.tr("The file {} does not exist. Has it been moved or deleted?").format(project), importance=3)
|
||||
return
|
||||
|
||||
if loadFromFile:
|
||||
|
|
Loading…
Reference in a new issue