Changeset 26c8be3 in sasview for src/sas/sasgui/perspectives/calculator/model_editor.py
- Timestamp:
- Oct 11, 2016 11:49:02 AM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- ad1ac45
- Parents:
- 01cfd13
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/model_editor.py
rf80b8a9f r26c8be3 632 632 self.reader = None 633 633 self.name = 'untitled' 634 self.overwrite_name = False634 self.overwrite_name = True 635 635 self.is_2d = False 636 636 self.fname = None … … 683 683 #title name [string] 684 684 name_txt = wx.StaticText(self, -1, 'Function Name : ') 685 overwrite_cb = wx.CheckBox(self, -1, "Overwrite ?", (10, 10))686 overwrite_cb.SetValue( False)685 overwrite_cb = wx.CheckBox(self, -1, "Overwrite existing plugin model of this name?", (10, 10)) 686 overwrite_cb.SetValue(True) 687 687 overwrite_cb.SetToolTipString("Overwrite it if already exists?") 688 688 wx.EVT_CHECKBOX(self, overwrite_cb.GetId(), self.on_over_cb) … … 1151 1151 1152 1152 _TreeLocation = "user/sasgui/perspectives/fitting/fitting_help.html" 1153 _PageAnchor = "# custom-model-editor"1153 _PageAnchor = "#New_Plugin_Model" 1154 1154 _doc_viewer = DocumentationWindow(self, -1, _TreeLocation, _PageAnchor, 1155 " CustomModel Editor Help")1155 "Plugin Model Editor Help") 1156 1156 1157 1157 def on_close(self, event):
Note: See TracChangeset
for help on using the changeset viewer.