diff options
| author | Tannin <devnull@localhost> | 2013-03-18 20:03:46 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-03-18 20:03:46 +0100 |
| commit | 8b31996525de06bcb0ff519be42a732c85f532c9 (patch) | |
| tree | ddf491f435d282c687376ba4c13e99e7cc5dd7b0 /src/mainwindow.cpp | |
| parent | b3d0fcb2083143dc21c751adafd2523c3555e5d2 (diff) | |
- bugfix: invalid ini file name when creating profile for oblivion from default settings
- bugfix: archives.txt file was potentially not generated if there were no bsas
- bugfix: static __declspec(thread) declaration causes crashes in windows versions before vista
- logger class in hook.dll now tries alternative names for the log file if it can't access the regular file
- path-environment variable for mo-spawned processes now contains the path to MO, in case the hook.dll needs to find the msvc-dlls
- stack-search in ini-limit hack now starts searching on local stack. This should find the right stack position for the hack more reliable
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 2d00580e..5bc339d3 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -528,6 +528,11 @@ bool MainWindow::saveCurrentLists() reportError(tr("failed to save load order: %1").arg(e.what())); } + // ensure the archive list exists + if (!QFile::exists(m_CurrentProfile->getArchivesFileName())) { + saveArchiveList(); + } + return true; } |
