Changeset a81e613 in sasview


Ignore:
Timestamp:
Apr 14, 2009 10:40:50 AM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
2097efb
Parents:
6ea1b87
Message:

hide and show description fixed

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitting.py

    rfb8daaaf ra81e613  
    33import string, numpy, math 
    44 
    5 #import copy,deepcopy  
    65from danse.common.plottools.plottables import Data1D, Theory1D,Data2D 
    76from danse.common.plottools.PlotPanel import PlotPanel 
     
    98from sans.guicomm.events import EVT_SLICER_PANEL,ERR_DATA 
    109 
    11 from sans.fit.AbstractFitEngine import Model,FitData1D,FitData2D#,Data, 
     10from sans.fit.AbstractFitEngine import Model,FitData1D,FitData2D 
    1211from fitproblem import FitProblem 
    1312from fitpanel import FitPanel 
  • sansview/perspectives/fitting/modelpage.py

    r6ea1b87 ra81e613  
    5959         
    6060        ## Show description 
    61         if not self.description_show.GetValue(): 
     61        if self.description_hide.GetValue(): 
    6262            self.sizer_description.Clear(True) 
    6363             
     
    272272             
    273273        sizer_selection=wx.BoxSizer(wx.HORIZONTAL) 
    274        
     274         
     275        self.description_hide = wx.RadioButton(self, -1, 'Hide', style=wx.RB_GROUP) 
    275276        self.description_show = wx.RadioButton(self, -1, 'Show') 
    276         self.description_hide = wx.RadioButton(self, -1, 'Hide', style=wx.RB_GROUP) 
     277        
    277278         
    278279        if description=="": 
Note: See TracChangeset for help on using the changeset viewer.