mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-13 02:01:08 +00:00
Update capture connections when an open capture is saved. Closes #2352
This commit is contained in:
@@ -1005,6 +1005,8 @@ bool MainWindow::PromptSaveCaptureAs()
|
||||
|
||||
if(!saveFilename.isEmpty())
|
||||
{
|
||||
QString origFilename = m_Ctx.GetCaptureFilename();
|
||||
|
||||
bool success = m_Ctx.SaveCaptureTo(saveFilename);
|
||||
|
||||
if(!success)
|
||||
@@ -1014,6 +1016,9 @@ bool MainWindow::PromptSaveCaptureAs()
|
||||
PopulateRecentCaptureFiles();
|
||||
SetTitle(saveFilename);
|
||||
|
||||
for(LiveCapture *live : m_LiveCaptures)
|
||||
live->fileSaved(origFilename, saveFilename);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user