Update window title after fetching shader stage

This commit is contained in:
baldurk
2018-02-08 12:24:54 +00:00
parent e20a31d23f
commit 1f0fdcacce
+2 -1
View File
@@ -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);