Changeset 7d47789 in sasview for sansguiframe/src/sans


Ignore:
Timestamp:
Oct 13, 2011 12:32:57 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:
665fd06
Parents:
cf0eb8e
Message:

fixed improper view results when one of them is returned not fitted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/data_processor.py

    rcf0eb8e r7d47789  
    754754                            wx.PostEvent(self.parent.parent,  
    755755                                 StatusEvent(status=msg, info="error"))  
    756                             return 
     756                            continue 
    757757                         
    758758                        if issubclass(new_plot.__class__, Data1D): 
     
    773773                                                 StatusEvent(status=msg, 
    774774                                                              info="error"))  
    775                                     return   
     775                                    continue   
    776776                        wx.PostEvent(self.parent.parent,  
    777777                                     NewPlotEvent(action="clear", 
     
    884884        self.y_axis_unit = wx.TextCtrl(self, -1) 
    885885        self.view_button = wx.Button(self, -1, "View Results") 
    886         view_tip = "Highlight data sets or Chi2 column first." 
     886        view_tip = "Highlight the data set or the Chi2 column first." 
    887887        self.view_button.SetToolTipString(view_tip) 
    888888        wx.EVT_BUTTON(self, self.view_button.GetId(), self.on_view) 
    889889        self.plot_button = wx.Button(self, -1, "Plot") 
    890         plot_tip = "Highlight column for axis and click the Add button first." 
     890        plot_tip = "Highlight a column for each axis and \n" 
     891        plot_tip += "click the Add buttons first." 
    891892        self.plot_button.SetToolTipString(plot_tip) 
    892893        self.button_sizer.AddMany( [ (500, 30), 
Note: See TracChangeset for help on using the changeset viewer.