Changeset 6694604 in sasview for sansview/perspectives/fitting
- Timestamp:
- Jun 29, 2011 6:16:54 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:
- 944b1a6
- Parents:
- 0145a25
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r2d603a2 r6694604 538 538 event.Skip() 539 539 # It seems MAC needs wxCallAfter 540 flag =wx.CallAfter(self.get_copy)540 wx.CallAfter(self.get_copy) 541 541 542 542 # messages depending on the flag 543 self._copy_info( flag)543 self._copy_info(None) 544 544 545 545 def on_paste(self, event): … … 551 551 # It seems MAC needs wxCallAfter for the setvalues 552 552 # for multiple textctrl items, otherwise it tends to crash once a while. 553 flag = wx.CallAfter(self.get_paste) 554 553 wx.CallAfter(self.get_paste) 555 554 # messages depending on the flag 556 self._copy_info( flag)555 self._copy_info(True) 557 556 558 557 def _copy_info(self, flag): … … 2697 2696 text = data.GetText() 2698 2697 wx.TheClipboard.Close() 2699 2698 2700 2699 return None 2701 2700 … … 2773 2772 self._get_paste_helper(self.str_parameters, 2774 2773 self.orientation_params, context) 2775 2774 2776 2775 return True 2777 2776
Note: See TracChangeset
for help on using the changeset viewer.