Changeset 56acb5d in sasview for sansguiframe/src/sans/guiframe
- Timestamp:
- May 4, 2012 9:10:52 AM (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:
- bf0acea
- Parents:
- 316e231
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_manager.py
rdd4344a r56acb5d 1046 1046 for ID in self.plot_panels.keys(): 1047 1047 if self.plot_panels[ID].window_name == panel.name: 1048 self.disable_app_menu(self.plot_panels[ID]) 1048 1049 self.delete_panel(ID) 1049 1050 break 1051 self.cpanel_on_focus.SetFocus() 1050 1052 1051 1053 … … 1753 1755 config.printEVT("hide_panel: %s" % ID) 1754 1756 if ID in self.panels.keys(): 1755 if self._mgr.GetPane(self.panels[ID].window_name).IsShown(): 1756 self._mgr.GetPane(self.panels[ID].window_name).Hide() 1757 pane = self._mgr.GetPane(self.panels[ID].window_name) 1758 if pane.IsMaximized(): 1759 self._mgr.RestoreMaximizedPane() 1760 self.disable_app_menu(self.panels[ID]) 1761 if pane.IsShown(): 1762 pane.Hide() 1757 1763 item = self._plotting_plugin.menu.FindItemById(uid) 1758 1764 item.Check(False) … … 1762 1768 # Do not Hide default panel here... 1763 1769 #self._mgr.GetPane(self.panels["default"].window_name).Hide() 1764 self._mgr.Update() 1770 wx.CallAfter(self._mgr.Update) 1771 self.cpanel_on_focus.SetFocus() 1765 1772 1766 1773 def delete_panel(self, uid):
Note: See TracChangeset
for help on using the changeset viewer.