Changeset 977a965 in sasview for sansview/perspectives/fitting
- Timestamp:
- Jun 30, 2011 3:09:07 PM (13 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r6694604 r977a965 553 553 wx.CallAfter(self.get_paste) 554 554 # messages depending on the flag 555 self._copy_info(True)555 #self._copy_info(True) 556 556 557 557 def _copy_info(self, flag): … … 2646 2646 # make event free 2647 2647 event.Skip() 2648 # messages depending on the flag2649 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 wx2660 wx.PostEvent( self.parent.parent,2661 StatusEvent(status= msg, info=infor))2662 2648 2663 2649 … … 2746 2732 lines = text.split(':') 2747 2733 if lines[0] != 'sansview_parameter_values': 2734 self._copy_info(False) 2748 2735 return False 2749 2736 for line in lines[1:-1]: … … 2772 2759 self._get_paste_helper(self.str_parameters, 2773 2760 self.orientation_params, context) 2774 2761 self._copy_info(True) 2775 2762 return True 2776 2763
Note: See TracChangeset
for help on using the changeset viewer.