Changeset 917eba5 in sasview


Ignore:
Timestamp:
Apr 19, 2018 8:37:16 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:
044454d
Parents:
5a5e371
Message:

Add convenience method to P(r) that returns the closable state.

File:
1 edited

Legend:

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

    r5a5e371 r917eba5  
    124124        assert isinstance(value, bool) 
    125125        self._allowClose = value 
     126 
     127    def isClosable(self): 
     128        """ 
     129        Allow outsiders close this widget 
     130        """ 
     131        return self._allowClose 
    126132 
    127133    def closeEvent(self, event): 
Note: See TracChangeset for help on using the changeset viewer.