Moved incorrectly placed parameter to correct place. Closes #377.

This commit is contained in:
RiderExMachina 2018-09-17 23:32:10 -07:00
parent 2fdf8c64bf
commit 5f8168fb37

View file

@ -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: