Changeset 77910cf in sasview


Ignore:
Timestamp:
Dec 5, 2016 12:52:56 PM (7 years ago)
Author:
krzywon
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a321c52
Parents:
7ede832
Message:

Fixes #819: Category, form factor and structure factor names are now assigned to the pagestate properly. They all are saved and loaded as expected.

Location:
src/sas/sasgui/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r1c6bad0 r77910cf  
    13901390        # self.state.struct_rbutton = self.struct_rbutton.GetValue() 
    13911391        # self.state.plugin_rbutton = self.plugin_rbutton.GetValue() 
    1392         self.state.structurecombobox = self.structurebox.GetLabel() 
    1393         self.state.formfactorcombobox = self.formfactorbox.GetLabel() 
    1394         self.state.categorycombobox = self.categorybox.GetLabel() 
     1392        self.state.structurecombobox = self.structurebox.GetValue() 
     1393        self.state.formfactorcombobox = self.formfactorbox.GetValue() 
     1394        self.state.categorycombobox = self.categorybox.GetValue() 
    13951395 
    13961396        # post state to fit panel 
  • src/sas/sasgui/perspectives/fitting/fitpage.py

    rc8e1996 r77910cf  
    11901190        self.state.slit_smearer = self.slit_smearer.GetValue() 
    11911191 
    1192         self.state.structurecombobox = self.structurebox.GetLabel() 
    1193         self.state.formfactorcombobox = self.formfactorbox.GetLabel() 
     1192        self.state.structurecombobox = self.structurebox.GetValue() 
     1193        self.state.formfactorcombobox = self.formfactorbox.GetValue() 
     1194        self.state.categorycombobox = self.categorybox.GetValue() 
    11941195        self.enable_fit_button() 
    11951196        if self.model is not None: 
Note: See TracChangeset for help on using the changeset viewer.