Changeset 6216eb75 in sasview for src/sas


Ignore:
Timestamp:
Oct 29, 2018 12:47:36 PM (6 years ago)
Author:
piotr
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
0c83303
Parents:
7fb68060
Message:

Remove not just widgets but also tabs between fits. SASVIEW-275

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Utilities/ResultPanel.py

    r8748751 r6216eb75  
    6060                     self.uncertaintyView, self.traceView): 
    6161            view.close() 
     62        # close all tabs. REMEMBER TO USE REVERSED RANGE!!! 
     63        for index in reversed(range(self.count())): 
     64            self.removeTab(index) 
    6265 
    6366        result = results[0][0] 
Note: See TracChangeset for help on using the changeset viewer.