Changeset 9c35257 in sasview
- Timestamp:
- Apr 26, 2011 4:14:30 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:
- ed61f2a1
- Parents:
- 7c7fe67
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
r7c7fe67 r9c35257 1211 1211 if APPLICATION_STATE_EXTENSION is not None \ 1212 1212 and basename.endswith(APPLICATION_STATE_EXTENSION): 1213 #remove panels for new states 1214 for plug in self.plugins: 1215 #reader, ext = plug.get_extensions() 1216 #if ext is not None and ext.strip() != ''\ 1217 # and ext.lower() not in EXTENSIONS: 1218 # print "herer clearpanel_geuiframe" 1219 plug.clear_panel() 1220 if self.defaultPanel != None: 1221 self.panels = {'default': self.defaultPanel} 1222 else: 1223 #self.clear_panel() 1224 self.panels = {} 1225 self._data_panel.clear_panel() 1226 self.plot_panels = {} 1227 self.panel_on_focus = None 1228 self.cpanel_on_focus = None 1229 self.get_data(path) 1213 #Hide current plot_panels i 1214 for ID in self.plot_panels.keys(): 1215 panel = self._mgr.GetPane(self.plot_panels[ID].window_name) 1216 if panel.IsShown(): 1217 panel.Hide() 1218 self.get_data(path) 1230 1219 if self.defaultPanel is not None and \ 1231 1220 self._mgr.GetPane(self.panels["default"].window_name).IsShown():
Note: See TracChangeset
for help on using the changeset viewer.