mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Only show texture viewer when closing live capture if we got a capture
This commit is contained in:
@@ -1033,7 +1033,7 @@ void LiveCapture::connectionClosed()
|
||||
{
|
||||
// raise the texture viewer if it exists, instead of falling back to most likely the capture
|
||||
// executable dialog which is not useful.
|
||||
if(m_Ctx.HasTextureViewer())
|
||||
if(ui->captures->count() == 1 && m_Ctx.HasTextureViewer())
|
||||
m_Ctx.ShowTextureViewer();
|
||||
selfClose();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user