Ignore:
Timestamp:
Apr 17, 2018 11:41:24 AM (6 years ago)
Author:
krzywon
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
5a5e371
Parents:
98485fe
Message:

Dmax close events inform P(r) window, data removal removes batch results for that data set, and general code cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Inversion/DMaxExplorerWidget.py

    rf4480f0 rae34d30  
    4242        super(DmaxWindow, self).__init__() 
    4343        self.setupUi(self) 
     44        self.parent = parent 
    4445 
    4546        self.setWindowTitle("Dₐₓ Explorer") 
     
    188189        data._yunit = y_unit 
    189190        self.plot.plot(data=data, marker="-") 
     191 
     192    def closeEvent(self, event): 
     193        """Override close event""" 
     194        self.parent.dmaxWindow = None 
     195        event.accept() 
Note: See TracChangeset for help on using the changeset viewer.