diff --git a/qt/scientific_interfaces/Direct/ALFView.cpp b/qt/scientific_interfaces/Direct/ALFView.cpp
index e455b05cdd3a460b49383d0e06738f847c462323..85139192e7091c46d67c4521c4602700e2bb9376 100644
--- a/qt/scientific_interfaces/Direct/ALFView.cpp
+++ b/qt/scientific_interfaces/Direct/ALFView.cpp
@@ -18,7 +18,7 @@
 namespace MantidQt {
 namespace CustomInterfaces {
 
-DECLARE_SUBWINDOW(ALFView)
+//DECLARE_SUBWINDOW(ALFView)
 
 /// static logger
 Mantid::Kernel::Logger g_log("ALFView");
@@ -35,4 +35,4 @@ void ALFView::initLayout() {
   m_presenter->initLayout();
 }
 } // namespace CustomInterfaces
-} // namespace MantidQt
\ No newline at end of file
+} // namespace MantidQt