Ignore:
Timestamp:
Mar 1, 2017 8:16:45 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:
86f88d1
Parents:
68c96d3
Message:

interactions between combo boxes on the fitting tab

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py

    r68c96d3 r6f7f652  
    11import sys 
     2import numpy 
    23 
    34from PyQt4 import QtCore 
     
    8384        available_tabs = list(map(lambda tab:tab.acceptsData(), self.tabs)) 
    8485 
    85         if True in available_tabs: 
     86        if numpy.any(available_tabs): 
    8687            self.tabs[available_tabs.index(True)].data = data_item 
    8788        else: 
Note: See TracChangeset for help on using the changeset viewer.