Changeset f121904 in sasview


Ignore:
Timestamp:
May 6, 2014 12:26:29 PM (11 years ago)
Author:
pkienzle
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:
fb7180c
Parents:
ed4aef2
Message:

fix bumps fitting menu on windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sans/perspectives/fitting/fitting.py

    red4aef2 rf121904  
    225225 
    226226        self.id_result_panel = wx.NewId() 
    227         self.menu1.AppendItem(self.id_result_panel, "Fit Results", 
    228                               "Show fit results panel") 
    229         wx.EVT_MENU(owner, self.id_result_panel, 
    230                     lambda ev: self.result_frame.Show(not self.result_frame.IsShown())) 
     227        self.menu1.Append(self.id_result_panel, "Fit Results", "Show fit results panel") 
     228        wx.EVT_MENU(owner, self.id_result_panel, lambda ev: self.result_frame.Show()) 
    231229        self.menu1.AppendSeparator() 
    232230         
Note: See TracChangeset for help on using the changeset viewer.