Changeset 86be650 in sasview
- Timestamp:
- Dec 21, 2011 10:03:07 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:
- 7983000f
- Parents:
- dda70f7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/pyconsole.py
r490b281 r86be650 70 70 if not title.count('Python Shell'): 71 71 # Delete menu item (open and new) if not python shell 72 self.fileMenu.Delete(wx.ID_NEW)72 #self.fileMenu.Delete(wx.ID_NEW) 73 73 self.fileMenu.Delete(wx.ID_OPEN) 74 74 … … 157 157 if self.buffer and self.buffer.doc.filedir: 158 158 filedir = self.buffer.doc.filedir 159 if not filedir: 160 filedir = self.dataDir 159 161 result = editor.openSingle(directory=filedir, 160 162 wildcard='Python Files (*.py)|*.py') … … 171 173 if self.buffer and self.buffer.doc.filedir: 172 174 filedir = self.buffer.doc.filedir 175 if not filedir: 176 filedir = self.dataDir 173 177 result = editor.saveSingle(directory=filedir, 174 178 filename='untitled.py',
Note: See TracChangeset
for help on using the changeset viewer.