Ignore:
Timestamp:
Dec 5, 2016 2:52:56 PM (8 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.

File:
1 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 
Note: See TracChangeset for help on using the changeset viewer.