Changeset a657de3 in sasview


Ignore:
Timestamp:
Nov 7, 2017 11:34:52 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:
477c473
Parents:
bcf1215
Message:

Close the P(r) window when switching between perspectives.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/GuiManager.py

    re32b120 ra657de3  
    181181        """ 
    182182        # Close the previous perspective 
    183         if self._current_perspective: 
     183        if self._current_perspective is not None: 
    184184            self._current_perspective.setClosable() 
    185185            self._current_perspective.close() 
     
    648648        """ 
    649649        """ 
    650         self._current_perspective = self.perspectiveChanged("PrInversion") 
     650        self.perspectiveChanged("Inversion") 
    651651        pass 
    652652 
Note: See TracChangeset for help on using the changeset viewer.