From 93cebc715cbd0064cb5d8d5d21278db7e519e773 Mon Sep 17 00:00:00 2001 From: Baldur Karlsson Date: Tue, 13 Mar 2018 15:49:31 +0000 Subject: [PATCH] Only show texture viewer when closing live capture if we got a capture --- qrenderdoc/Windows/Dialogs/LiveCapture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Windows/Dialogs/LiveCapture.cpp b/qrenderdoc/Windows/Dialogs/LiveCapture.cpp index 74eb724a8..930da1985 100644 --- a/qrenderdoc/Windows/Dialogs/LiveCapture.cpp +++ b/qrenderdoc/Windows/Dialogs/LiveCapture.cpp @@ -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;