Changeset 977a965 in sasview


Ignore:
Timestamp:
Jun 30, 2011 3:09:07 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:
70468a5
Parents:
9f5c8bb
Message:

paste err msg info

File:
1 edited

Legend:

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

    r6694604 r977a965  
    553553        wx.CallAfter(self.get_paste) 
    554554        # messages depending on the flag 
    555         self._copy_info(True) 
     555        #self._copy_info(True) 
    556556         
    557557    def _copy_info(self, flag): 
     
    26462646        # make event free 
    26472647        event.Skip() 
    2648         # messages depending on the flag 
    2649         if flag == None: 
    2650             msg = " Parameter values are copied to the clipboard..." 
    2651             infor = 'warning' 
    2652         elif flag: 
    2653             msg = " Parameter values are pasted from the clipboad..." 
    2654             infor = "warning" 
    2655         else: 
    2656             msg = "Error was occured during pasting the parameter values " 
    2657             msg += "from the clipboard..." 
    2658             infor = "error" 
    2659         # inform msg to wx 
    2660         wx.PostEvent( self.parent.parent,  
    2661                       StatusEvent(status= msg, info=infor)) 
    26622648         
    26632649             
     
    27462732        lines = text.split(':') 
    27472733        if lines[0] != 'sansview_parameter_values': 
     2734            self._copy_info(False) 
    27482735            return False 
    27492736        for line in lines[1:-1]: 
     
    27722759            self._get_paste_helper(self.str_parameters,  
    27732760                                   self.orientation_params, context) 
    2774     
     2761        self._copy_info(True) 
    27752762        return True 
    27762763     
Note: See TracChangeset for help on using the changeset viewer.