Ignore:
Timestamp:
Jul 6, 2015 11:11:55 AM (9 years ago)
Author:
Doucet, Mathieu <doucetm@…>
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:
d3d67f0
Parents:
9989a6a
Message:

Remove print preview menu items. Fix 2D plotting from fit perspective.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/guiframe/local_perspectives/plotting/SimplePlot.py

    rb40ad40 r098f3d2  
    5858        slicerpop.Append(wx_id, '&Print Image', 'Print image') 
    5959        wx.EVT_MENU(self, wx_id, self.onPrint) 
    60  
    61         wx_id = wx.NewId() 
    62         slicerpop.Append(wx_id, '&Print Preview', 'Print preview') 
    63         wx.EVT_MENU(self, wx_id, self.onPrinterPreview) 
    6460 
    6561        wx_id = wx.NewId() 
     
    234230        wx.EVT_MENU(self, id, self.on_print_image) 
    235231 
    236         id = wx.NewId() 
    237         item = wx.MenuItem(menu, id, "&Print Preview") 
    238         item.SetBitmap(preview_bmp) 
    239         menu.AppendItem(item) 
    240         wx.EVT_MENU(self, id, self.on_print_preview) 
    241  
    242232        menu.AppendSeparator() 
    243233        id = wx.NewId() 
Note: See TracChangeset for help on using the changeset viewer.