Ignore:
Timestamp:
Mar 21, 2016 4:58:12 AM (9 years ago)
Author:
butler
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:
240a2d2
Parents:
832fea2
Message:

Fixes model help documentation appearing when help button is pushed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    rab3ed7e r15fb4fa  
    28642864        """ 
    28652865 
    2866         _TreeLocation = 'user/models/model_functions.html' 
    28672866        if self.model != None: 
    28682867            name = self.formfactorbox.GetValue() 
    2869             _PageAnchor = '#' + name.lower() 
     2868            _TreeLocation = 'user/models/'+ name.lower()+'.html' 
    28702869            _doc_viewer = DocumentationWindow(self, wx.ID_ANY, _TreeLocation, 
    2871                                               _PageAnchor, name + " Help") 
     2870                                              "", name + " Help") 
    28722871        else: 
     2872            _TreeLocation = 'user/index.html' 
    28732873            _doc_viewer = DocumentationWindow(self, wx.ID_ANY, _TreeLocation, 
    28742874                                              "", "General Model Help") 
Note: See TracChangeset for help on using the changeset viewer.