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);