Set disassembly view to NULL when it's deleted

This commit is contained in:
baldurk committed 2018-05-13 10:13:49 +01:00
1 parent 5bf0ae3624
commit 5c40914c32
1 file changed
+2
+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();