From 926ab7d16ff784f443535d19fb9520af218c7b5c Mon Sep 17 00:00:00 2001
From: RichardWaiteSTFC <richard.waite@stfc.ac.uk>
Date: Wed, 26 Feb 2020 09:47:28 +0000
Subject: [PATCH] Correct typo calling has_instrument_view

---
 .../Interface/reduction_gui/widgets/sans/hfir_sample_data.py    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Interface/reduction_gui/widgets/sans/hfir_sample_data.py b/scripts/Interface/reduction_gui/widgets/sans/hfir_sample_data.py
index b8115d4e78a..5e23eb7689c 100644
--- a/scripts/Interface/reduction_gui/widgets/sans/hfir_sample_data.py
+++ b/scripts/Interface/reduction_gui/widgets/sans/hfir_sample_data.py
@@ -61,7 +61,7 @@ class DirectBeam(BaseWidget):
         self._content.sample_plot.clicked.connect(self._sample_plot_clicked)
         self._content.direct_plot.clicked.connect(self._direct_plot_clicked)
 
-        if not self._has_instrumentview:
+        if not self._has_instrument_view:
             self._content.sample_plot.hide()
             self._content.direct_plot.hide()
 
-- 
GitLab