Changeset 4904062 in sasview for sansguiframe/src/sans


Ignore:
Timestamp:
Oct 6, 2011 12:20:55 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:
fb0de166
Parents:
a4964b8e
Message:

fixed msg event

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter1D.py

    ra4964b8e r4904062  
    251251                self._onEVT_FUNC_PROPERTY() 
    252252            except: 
    253                 msg=" Encountered sigular points..." 
    254                 wx.PostEvent(self, StatusEvent(status=\ 
    255                             "Plotting Erorr: %s"%msg)) 
     253                msg=" Encountered singular points..." 
     254                wx.PostEvent(self.parent, StatusEvent(status=\ 
     255                    "Plotting Erorr: %s"% msg, info="error"))  
    256256            # Check if zoomed 
    257257            toolbar_zoomed = self.toolbar.GetToolEnabled(self.toolbar._NTB2_BACK) 
     
    273273                self._onEVT_FUNC_PROPERTY() 
    274274            except: 
    275                 msg=" Encountered sigular points..." 
    276                 wx.PostEvent(self, StatusEvent(status=\ 
    277                             "Plotting Erorr: %s"%msg)) 
     275                msg=" Encountered singular points..." 
     276                wx.PostEvent(self.parent, StatusEvent(status=\ 
     277                    "Plotting Erorr: %s"% msg, info="error"))  
    278278            self.toolbar.update() 
    279279            if self.is_zoomed: 
     
    545545            self._onEVT_FUNC_PROPERTY() 
    546546        except: 
    547             msg=" Encountered sigular points..." 
    548             wx.PostEvent(self, StatusEvent(status=\ 
    549                         "Plotting Erorr: %s"%msg))  
     547            msg=" Encountered singular points..." 
     548            wx.PostEvent(self.parent, StatusEvent(status=\ 
     549                    "Plotting Erorr: %s"% msg, info="error"))  
    550550     
    551551    def onChangeColor(self, event): 
Note: See TracChangeset for help on using the changeset viewer.