Ignore:
Timestamp:
Mar 29, 2011 11:08:55 AM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
29ef718
Parents:
852354c8
Message:

make sure plugin model are recompile online when the plugin dir has changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpage.py

    r9a22655 r9466f2d6  
    5050        self._set_bookmark_flag(False) 
    5151        self._set_save_flag(False) 
    52  
     52     
     53   
     54         
    5355    def _on_fit_complete(self): 
    5456        """ 
     
    532534        self.initialize_combox() 
    533535        wx.EVT_COMBOBOX(self.formfactorbox, -1, self._on_select_model) 
     536 
    534537        wx.EVT_COMBOBOX(self.structurebox, -1, self._on_select_model) 
    535538        wx.EVT_COMBOBOX(self.multifactorbox, -1, self._on_select_model) 
     
    9971000        call back for model selection 
    9981001        """   
    999         if self.plugin_rbutton.GetValue(): 
    1000             self._show_combox_helper() 
    1001             print "went here" 
     1002         
    10021003             
    10031004        self._on_select_model_helper()  
     
    10591060            event = PageInfoEvent(page = self) 
    10601061            wx.PostEvent(self.parent, event)  
     1062            #update list of plugins if new plugin is available 
     1063            if self.plugin_rbutton.GetValue(): 
     1064                temp = self.parent.update_model_list() 
     1065                if temp: 
     1066                    self.model_list_box = temp 
     1067                    current_val = self.formfactorbox.GetValue() 
     1068                    pos = self.formfactorbox.GetSelection() 
     1069                    self._show_combox_helper() 
     1070                    self.formfactorbox.SetSelection(pos) 
     1071                    self.formfactorbox.SetValue(current_val) 
    10611072        self.SetupScrolling() 
     1073     
    10621074       
    10631075    def _onparamEnter(self,event): 
Note: See TracChangeset for help on using the changeset viewer.