Changeset 04b744d in sasview for sansguiframe/src/sans/guiframe


Ignore:
Timestamp:
Oct 21, 2011 10:54:54 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
e4d790f
Parents:
c1da29f
Message:

removed check on show/hide all

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/gui_manager.py

    rc846f36 r04b744d  
    16421642            # Make sure the Checkmenuitem checked: Need this for-loop \ 
    16431643            # because the check menu is not responding on floating panel  
    1644             try: 
    1645                 for item in self._plotting_plugin.menu.GetMenuItems(): 
    1646                     item.Check(True) 
    1647             except: 
    1648                 # MAC is not using checkmenuitem 
    1649                 pass 
     1644            if IS_WIN: 
     1645                try: 
     1646                    for item in self._plotting_plugin.menu.GetMenuItems(): 
     1647                        item.Check(True) 
     1648                except: 
     1649                    # MAC is not using checkmenuitem 
     1650                    pass 
    16501651            msg = "All graph panels are shown." 
    16511652        wx.PostEvent(self, StatusEvent(status=msg)) 
     
    16731674            # Make sure the Checkmenuitem unchecked: Need this for-loop  
    16741675            # because the check menu is not responding on floating panel  
    1675             try: 
    1676                 for item in self._plotting_plugin.menu.GetMenuItems(): 
    1677                     item.Check(False) 
    1678             except: 
    1679                 # MAC is not using checkmenuitem 
    1680                 pass 
     1676            if IS_WIN: 
     1677                try: 
     1678                    for item in self._plotting_plugin.menu.GetMenuItems(): 
     1679                        item.Check(False) 
     1680                except: 
     1681                    # MAC is not using checkmenuitem 
     1682                    pass 
    16811683            msg = "All graph panels are hidden." 
    16821684        wx.PostEvent(self, StatusEvent(status=msg)) 
Note: See TracChangeset for help on using the changeset viewer.