Set disassembly view to NULL when it's deleted

This commit is contained in:
baldurk
2018-05-13 10:11:27 +01:00
parent 5bf0ae3624
commit 5c40914c32
+2
View File
@@ -202,6 +202,8 @@ void ShaderViewer::editShader(bool customShader, const QString &entryPoint, cons
m_Scintillas.removeOne(m_DisassemblyView);
ui->docking->removeToolWindow(m_DisassemblyFrame);
m_DisassemblyView = NULL;
// hide watch, constants, variables
ui->watch->hide();
ui->variables->hide();