mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-09 17:17:11 +00:00
If a capture fails to load, do not close connection panel
This commit is contained in:
@@ -1204,6 +1204,11 @@ void LiveCapture::connectionClosed()
|
||||
return;
|
||||
|
||||
openCapture(cap);
|
||||
|
||||
// if the capture failed to load, don't proceed.
|
||||
if(!m_Ctx.IsCaptureLoaded())
|
||||
return;
|
||||
|
||||
if(!cap->saved)
|
||||
{
|
||||
cap->saved = true;
|
||||
|
||||
Reference in New Issue
Block a user