File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,12 @@ def update_buffer(self):
313313 self .img_width = img_width
314314 self .img_height = img_height
315315
316+ # virtual microscopes
317+ for microscope_name in self .additional_microscopes :
318+ self .model .destroy_virtual_microscope (microscope_name )
319+ # TODO: destroy the popup window
320+ self .additional_microscopes .pop (microscope_name )
321+
316322 def update_acquire_control (self ):
317323 """Update the acquire control based on the current experiment parameters."""
318324 self .view .acqbar .stop_stage .config (
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ def confirm_microscope_setting(self):
195195 self .parent_controller .configuration ["experiment" ]["MicroscopeState" ][
196196 "zoom"
197197 ] = zoom
198- self .parent_controller .resolution_value .set (
198+ self .parent_controller .menu_controller . resolution_value .set (
199199 f"{ self .primary_microscope } { zoom } "
200200 )
201201
You can’t perform that action at this time.
0 commit comments