Changeset 3fbd77b in sasview for src/sas/qtgui


Ignore:
Timestamp:
Sep 7, 2018 4:02:31 AM (6 years ago)
Author:
Torin Cooper-Bennun <torin.cooper-bennun@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
0109f2a
Parents:
70f4458
Message:

fix testModifyShellsInList

File:
1 edited

Legend:

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

    rf3a19ad r3fbd77b  
    589589 
    590590        # Assure we have the combobox available 
    591         last_row = self.widget._last_model_row 
    592         func_index = self.widget._model_model.index(last_row-1, 1) 
     591        cbox_row = self.widget._n_shells_row 
     592        func_index = self.widget._model_model.index(cbox_row, 1) 
    593593        self.assertIsInstance(self.widget.lstParams.indexWidget(func_index), QtWidgets.QComboBox) 
     594 
     595        # get number of rows before changing shell count 
     596        last_row = self.widget._model_model.rowCount() 
    594597 
    595598        # Change the combo box index 
Note: See TracChangeset for help on using the changeset viewer.