Changeset 96f13a9 in sasview


Ignore:
Timestamp:
Jun 13, 2008 1:07:18 PM (16 years ago)
Author:
Mathieu Doucet <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:
b00b487
Parents:
ac9c465
Message:

Fixed problem with context menu. Added item to reset plot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/plotting.py

    r2310d69 r96f13a9  
    105105                 
    106106        # Option to save the data displayed 
    107         id = wx.NewId() 
    108107        for plot in self.graph.plottables: 
     108            id = wx.NewId() 
    109109            name = plot.name 
    110110            slicerpop.Append(id, "&Save %s points" % name) 
     
    138138        slicerpop.Append(id, '&Change scale') 
    139139        wx.EVT_MENU(self, id, self._onProperties) 
     140         
     141        id = wx.NewId() 
     142        slicerpop.AppendSeparator() 
     143        slicerpop.Append(id, '&Reset Graph') 
     144        wx.EVT_MENU(self, id, self.onResetGraph)         
    140145 
    141146        pos = event.GetPosition() 
Note: See TracChangeset for help on using the changeset viewer.