From 1f0fdcacce30e95f6cc5a2b339f313c64b082182 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 8 Feb 2018 12:24:54 +0000 Subject: [PATCH] Update window title after fetching shader stage --- qrenderdoc/Windows/ShaderViewer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qrenderdoc/Windows/ShaderViewer.cpp b/qrenderdoc/Windows/ShaderViewer.cpp index c3fd1deb2..511a51f73 100644 --- a/qrenderdoc/Windows/ShaderViewer.cpp +++ b/qrenderdoc/Windows/ShaderViewer.cpp @@ -297,7 +297,6 @@ void ShaderViewer::debugShader(const ShaderBindpointMapping *bind, const ShaderR if(!shader || !bind) m_Trace = NULL; - updateWindowTitle(); if(shader) { @@ -339,6 +338,8 @@ void ShaderViewer::debugShader(const ShaderBindpointMapping *bind, const ShaderR }); } + updateWindowTitle(); + // we always want to highlight words/registers QObject::connect(m_DisassemblyView, &ScintillaEdit::buttonReleased, this, &ShaderViewer::disassembly_buttonReleased);