Ignore:
Timestamp:
Oct 11, 2016 11:49:02 AM (8 years ago)
Author:
smk78
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
Message:

Changed default behaviour of New Plugin Model

modified: src/sas/sasgui/perspectives/calculator/model_editor.py
modified: src/sas/sasgui/perspectives/fitting/media/fitting_help.rst

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/calculator/model_editor.py

    rf80b8a9f r26c8be3  
    632632        self.reader = None 
    633633        self.name = 'untitled' 
    634         self.overwrite_name = False 
     634        self.overwrite_name = True 
    635635        self.is_2d = False 
    636636        self.fname = None 
     
    683683        #title name [string] 
    684684        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) 
    687687        overwrite_cb.SetToolTipString("Overwrite it if already exists?") 
    688688        wx.EVT_CHECKBOX(self, overwrite_cb.GetId(), self.on_over_cb) 
     
    11511151 
    11521152        _TreeLocation = "user/sasgui/perspectives/fitting/fitting_help.html" 
    1153         _PageAnchor = "#custom-model-editor" 
     1153        _PageAnchor = "#New_Plugin_Model" 
    11541154        _doc_viewer = DocumentationWindow(self, -1, _TreeLocation, _PageAnchor, 
    1155                                           "Custom Model Editor Help") 
     1155                                          "Plugin Model Editor Help") 
    11561156 
    11571157    def on_close(self, event): 
Note: See TracChangeset for help on using the changeset viewer.