From a84e555a44a46ad26664aef7fab82e82c8b1708c Mon Sep 17 00:00:00 2001 From: Roman Tolchenov <roman.tolchenov@stfc.ac.uk> Date: Wed, 1 Jul 2009 14:37:11 +0000 Subject: [PATCH] re #715 --- Code/qtiplot/qtiplot/src/Mantid/MantidUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/qtiplot/qtiplot/src/Mantid/MantidUI.cpp b/Code/qtiplot/qtiplot/src/Mantid/MantidUI.cpp index 43718764108..98646e1ea0b 100644 --- a/Code/qtiplot/qtiplot/src/Mantid/MantidUI.cpp +++ b/Code/qtiplot/qtiplot/src/Mantid/MantidUI.cpp @@ -1091,7 +1091,7 @@ void MantidUI::clearAllMemory() foreach( MdiSubWindow* sub_win, m_appWindow->windowsList() ) { - if( qobject_cast<MantidMatrix*>(sub_win) ) + if( qobject_cast<MantidMatrix*>(sub_win) || qobject_cast<InstrumentWindow*>(sub_win)) { sub_win->close(); } -- GitLab