From 778160cf0dc2353bb74df0e8cf0b922d71496f00 Mon Sep 17 00:00:00 2001 From: Tannin Date: Mon, 25 Aug 2014 20:12:25 +0200 Subject: - processes spawned from MO are now themselves allowed to break away from the job. Without this the CEF (chromium embedded framework) seems to fail - bugfix: Fixed an error message when installing a fomod wrapped in an archive - bugfix: sorting plugins had no effect on non-skyrim games - bugfix: fomod parser quit installing filelists after one file - bugfix: function retrieving local appdata path read wrong directory --- src/mainwindow.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index dd70f9ab..d8e2a84c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1393,8 +1393,11 @@ void MainWindow::spawnBinary(const QFileInfo &binary, const QString &arguments, this->setEnabled(true); refreshDirectoryStructure(); + // need to remove our stored load order because it may be outdated if a foreign tool changed the + // file time. After removing that file, refreshESPList will use the file time as the order if (GameInfo::instance().getLoadOrderMechanism() == GameInfo::TYPE_FILETIME) { QFile::remove(m_CurrentProfile->getLoadOrderFileName()); + refreshESPList(); } } } @@ -5485,11 +5488,13 @@ void MainWindow::on_bossButton_clicked() } m_IntegratedBrowser.openUrl(url); } - refreshESPList(); + // if the game specifies load order by file time, our own load order file needs to be removed because it's outdated. + // refreshESPList will then use the file time as the load order. if (GameInfo::instance().getLoadOrderMechanism() == GameInfo::TYPE_FILETIME) { QFile::remove(m_CurrentProfile->getLoadOrderFileName()); } + refreshESPList(); } } -- cgit v1.3.1