Changeset 90a2358 in sasview


Ignore:
Timestamp:
Oct 7, 2011 3:32:23 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
a376be4
Parents:
14774db
Message:

a little fix in batch plotting

Location:
fittingview/src/sans/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitpage.py

    r1153d0e r90a2358  
    26142614         
    26152615        ## set smearing value whether or not the data contain the smearing info 
    2616         self._manager.set_smearer(uid=self.uid, smearer=temp_smearer, 
     2616        wx.CallAfter(self._manager.set_smearer, uid=self.uid, smearer=temp_smearer, 
    26172617                                  fid=self.data.id, 
    26182618                        qmin=float(self.qmin_x), 
  • fittingview/src/sans/perspectives/fitting/fitting.py

    r14774db r90a2358  
    14831483                wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, 
    14841484                                            title=str(title))) 
     1485            else: 
     1486                top_data_id = self.fit_panel.get_page_by_id(page_id).data.id 
     1487                if data.id == top_data_id: 
     1488                    wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, 
     1489                                            title=str(title)))     
    14851490            caption = current_pg.window_caption 
    14861491            self.page_finder[page_id].set_fit_tab_caption(caption=caption) 
Note: See TracChangeset for help on using the changeset viewer.