Changeset 50bfab0 in sasview for src/sas/qtgui/Perspectives/Corfunc


Ignore:
Timestamp:
Dec 4, 2017 8:43:06 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
9387fe3
Parents:
200bd7e
Message:

Initial unit tests for inversion - SASVIEW-609

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py

    rcb4d219 r50bfab0  
    368368            self.setClosable(value=False) 
    369369            # Tell the MdiArea to close the container 
    370             self.parentWidget().close() 
     370            if self.parent: 
     371                self.parentWidget().close() 
    371372            event.accept() 
    372373        else: 
Note: See TracChangeset for help on using the changeset viewer.