Changeset df4af9b in sasview for src/sas/sasgui/perspectives


Ignore:
Timestamp:
Nov 1, 2017 4:43:39 AM (7 years ago)
Author:
gonzalezm
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
b6b81a3
Parents:
1c206d9
Message:

Removing files corresponding to ticket #1007 from this PR

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

Legend:

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

    r0be6b6b rdf4af9b  
    34153415                        if item[2].__class__.__name__ == "ComboBox": 
    34163416                            if value[0] in self.model.fun_list: 
    3417                                 self.model.setParam(name, 0) 
     3417                                fun_val = self.model.fun_list[value[0]] 
     3418                                self.model.setParam(name, fun_val) 
    34183419                                # save state 
    34193420                        try: 
  • src/sas/sasgui/perspectives/fitting/fitpage.py

    r0be6b6b rdf4af9b  
    17331733        ind = 0 
    17341734        while(ind < len(list)): 
    1735             fun_box.Append(list[ind])         
     1735            for key, val in list.items(): 
     1736                if val == ind: 
     1737                    fun_box.Append(key, val) 
     1738                    break 
    17361739            ind += 1 
    17371740 
     
    17621765        value = fun_box.GetValue() 
    17631766        if value in self.model.fun_list: 
    1764             fun_val = fun_box.GetSelection() 
     1767            fun_val = self.model.fun_list[value] 
    17651768 
    17661769        self.model.setParam(name, fun_val) 
Note: See TracChangeset for help on using the changeset viewer.