mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +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:
@@ -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