Changeset 4d1dce4 in sasview
- Timestamp:
- Apr 11, 2011 12:18:24 PM (14 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:
- f69b5830
- Parents:
- 9f5b505
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
r64e44c1 r4d1dce4 213 213 """ 214 214 """ 215 # set tool bar 216 self._setup_tool_bar() 215 217 # Set up the layout 216 218 self._setup_layout() 217 219 # Set up the menu 218 220 self._setup_menus() 219 # set tool bar 220 self._setup_tool_bar() 221 221 222 try: 222 223 self.load_from_cmd(self._input_file) … … 972 973 if default_panel.IsShown(): 973 974 default_panel.Hide() 974 975 # set a defaultperspective976 self.set_default_perspective()975 # Recover current perspective 976 perspective = self._current_perspective 977 perspective.on_perspective(event=None) 977 978 self._mgr.Update() 978 979 # Show toolbar 979 self._on_hide_toolbar() 980 style = self.__gui_style & GUIFRAME.TOOL_ON 981 if (style == GUIFRAME.TOOL_ON) & (not self._toolbar.IsShown()): 982 self._on_hide_toolbar() 980 983 981 984 def show_welcome_panel(self, event): … … 1396 1399 :param panels: list of panels 1397 1400 """ 1401 style = self.__gui_style & GUIFRAME.TOOL_ON 1402 if (style == GUIFRAME.TOOL_ON) & (not self._toolbar.IsShown()): 1403 self._on_hide_toolbar() 1398 1404 for item in self.panels: 1399 1405 # Check whether this is a sticky panel
Note: See TracChangeset
for help on using the changeset viewer.