mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-20 11:01:08 +00:00
Save config immediately after setting last opened capture filename
* This means that even if we crash while opening the capture it's set for the crash reporter to pick up.
This commit is contained in:
1 file changed
+3
@@ -138,7 +138,10 @@ void CaptureContext::LoadCapture(const rdcstr &captureFile, const rdcstr &origFi
|
||||
m_LoadInProgress = true;
|
||||
|
||||
if(local)
|
||||
{
|
||||
m_Config.CrashReport_LastOpenedCapture = origFilename;
|
||||
m_Config.Save();
|
||||
}
|
||||
|
||||
bool newCapture = (!temporary && !Config().RecentCaptureFiles.contains(origFilename));
|
||||
|
||||
|
||||
Reference in new issue
Block a user