Changeset 1618a7e in sasview
- Timestamp:
- Jun 13, 2012 5:52:58 PM (12 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:
- 365aa1ed
- Parents:
- 1a98ded
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_manager.py
ra48842a2 r1618a7e 194 194 IS_WIN = False 195 195 TIME_FACTOR = 2 196 if int( wx.__version__.split('.')[0]) == 2:197 if int( wx.__version__.split('.')[1]) < 9:196 if int(str(wx.__version__).split('.')[0]) == 2: 197 if int(str(wx.__version__).split('.')[1]) < 9: 198 198 CLOSE_SHOW = False 199 199 … … 831 831 continue 832 832 path = [os.path.abspath(dir)] 833 file = ''833 file = None 834 834 try: 835 835 if toks[1] == '': … … 1787 1787 if self._data_panel is not None and \ 1788 1788 ID in self.plot_panels.keys(): 1789 self._data_panel.cb_plotpanel.Append(str(caption), p) 1789 self._data_panel.cb_plotpanel.Append(str(caption), 1790 self.panels[ID]) 1790 1791 # Do not Hide default panel here... 1791 1792 #self._mgr.GetPane(self.panels["default"].window_name).Hide() … … 1853 1854 log_msg += "Try Data opening...." 1854 1855 logging.info(log_msg) 1855 self.load_complete(output=output, error_message=error_message, 1856 message=log_msg, path=path) 1856 print log_msg 1857 #self.load_complete(output=output, error_message=error_message, 1858 # message=log_msg, path=path) 1857 1859 return 1858 1860 … … 3208 3210 drag 3209 3211 """ 3210 if self.cpanel_on_focus is not None:3211 self._toolbar.enable_drag(self.panel_on_focus)3212 #if self.cpanel_on_focus is not None: 3213 # self._toolbar.enable_drag(self.panel_on_focus) 3212 3214 3213 3215 def enable_reset(self): … … 3417 3419 self.frame.Show() 3418 3420 3419 if hasattr(self.frame, 'special'):3420 self.frame.special.SetCurrent()3421 #if hasattr(self.frame, 'special'): 3422 # self.frame.special.SetCurrent() 3421 3423 self.SetTopWindow(self.frame) 3422 3424
Note: See TracChangeset
for help on using the changeset viewer.