Changeset 4ccbc67 in sasview for prview


Ignore:
Timestamp:
Jun 22, 2011 7:13:54 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:
59afa71
Parents:
f199764
Message:

callafter show_iq

File:
1 edited

Legend:

Unmodified
Added
Removed
  • prview/perspectives/pr/pr.py

    rf199764 r4ccbc67  
    883883                 
    884884        # Show I(q) fit 
    885         self.show_iq(out, self.pr) 
     885        wx.CallAfter(self.show_iq, out, self.pr) 
    886886         
    887887        # Show P(r) fit 
     
    10031003            if not pr==None: 
    10041004                self.pr = pr 
    1005                 wx.CallAfter(self.perform_estimate) 
     1005                self.perform_estimate() 
    10061006        except: 
    10071007            wx.PostEvent(self.parent, StatusEvent(status=sys.exc_value))             
     
    11071107            if not pr is None: 
    11081108                self.pr = pr 
    1109                 wx.CallAfter(self.perform_estimate) 
     1109                self.perform_estimate() 
    11101110        except: 
    11111111            wx.PostEvent(self.parent, StatusEvent(status=sys.exc_value)) 
     
    12701270        wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, title="Iq")) 
    12711271        # Show I(q) fit 
    1272         self.show_iq(out, self.pr) 
     1272        wx.CallAfter(self.show_iq, out, self.pr) 
    12731273        # Show P(r) fit 
    12741274        x_values, x_range = self.show_pr(out, self.pr, cov=cov) 
Note: See TracChangeset for help on using the changeset viewer.