diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-02-28 11:10:31 -0600 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-02-28 11:10:31 -0600 |
| commit | 94596962a17f8989bfa20bbf98d1b5707fd773d2 (patch) | |
| tree | c1e9fbfdc9058a1033f0f718d0ec09b38cf9f455 /src | |
| parent | e72c2f134225af2f3e0b3df595d949b3a8344e7a (diff) | |
Fix saves tab showing profile-specific saves when feature is disabled
When local saves is off but the game INI still has a stale
sLocalSavePath=__MO_Saves\, ignore it and fall back to the default
saves directory instead of following the redirect.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/src/savestab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/savestab.cpp b/src/src/savestab.cpp index 29411fa..0ea76c1 100644 --- a/src/src/savestab.cpp +++ b/src/src/savestab.cpp @@ -265,7 +265,7 @@ QDir SavesTab::currentSavesDir() const while (savePath.endsWith('\\') || savePath.endsWith('/')) { savePath.chop(1); } - if (!savePath.isEmpty()) { + if (!savePath.isEmpty() && savePath.compare("__MO_Saves", Qt::CaseInsensitive) != 0) { savesDir.setPath(m_core.managedGame()->documentsDirectory().absoluteFilePath(savePath)); } else { savesDir = m_core.managedGame()->savesDirectory(); |
