From 0ac1227c3091d07ce01849df9fafda8c76e2c785 Mon Sep 17 00:00:00 2001
From: Tom Titcombe <t.j.titcombe@gmail.com>
Date: Wed, 23 Jan 2019 11:13:48 +0000
Subject: [PATCH] Fix typo in table model

Refs #23961
---
 scripts/SANS/sans/gui_logic/models/table_model.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/SANS/sans/gui_logic/models/table_model.py b/scripts/SANS/sans/gui_logic/models/table_model.py
index 45fcf36d509..e065a15e77a 100644
--- a/scripts/SANS/sans/gui_logic/models/table_model.py
+++ b/scripts/SANS/sans/gui_logic/models/table_model.py
@@ -188,7 +188,7 @@ class TableModel(object):
             self._table_entries[row].update_attribute('sample_thickness', rounded_file_thickness)
             self._table_entries[row].update_attribute('sample_height', rounded_file_height)
             self._table_entries[row].update_attribute('sample_width', rounded_file_width)
-            if self.table_entries[row].sample_shape_string == "":
+            if self._table_entries[row].sample_shape_string == "":
                 self._table_entries[row].update_attribute('sample_shape', file_information.get_shape())
             self._table_entries[row].file_finding = False
             self.reset_row_state(row)
-- 
GitLab