File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mantidimaging/gui/windows/live_viewer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ class ImageWatcher(QObject):
195
195
"""
196
196
image_changed = pyqtSignal (list , DaskImageDataStack ) # Signal emitted when an image is added or removed
197
197
recent_image_changed = pyqtSignal (Path )
198
- create_delayed_array : bool
198
+ create_delayed_array : bool = True
199
199
200
200
def __init__ (self , directory : Path ):
201
201
"""
@@ -230,7 +230,7 @@ def find_images(self, directory: Path) -> list[Image_Data]:
230
230
for file_path in directory .iterdir ():
231
231
if self ._is_image_file (file_path .name ):
232
232
try :
233
- image_obj = Image_Data (file_path )
233
+ image_obj = Image_Data (file_path , create_delayed_array = self . create_delayed_array )
234
234
image_files .append (image_obj )
235
235
except FileNotFoundError :
236
236
continue
You can’t perform that action at this time.
0 commit comments