Changeset cb1e9a5 in sasview


Ignore:
Timestamp:
Nov 9, 2016 5:11:15 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
8fa3fb8
Parents:
8fa53f7
Message:

code review from WP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/data_panel.py

    r8fa53f7 rcb1e9a5  
    526526        splitter.SetSashGravity(1.0) 
    527527 
    528         file_panel = wx.Panel(splitter, -1) 
    529         theory_panel = wx.Panel(splitter, -1) 
    530  
    531528        file_sizer = wx.BoxSizer(wx.VERTICAL) 
    532529        file_sizer.SetMinSize(wx.Size(w/13, h*2/5)) 
     
    576573        self.tree_ctrl_theory.Bind(CT.EVT_TREE_ITEM_MENU, 
    577574                                   self.on_right_click_theory) 
    578  
    579         _ = self.tree_ctrl.InsertItem(self.tree_ctrl.root, 
    580                                             -999, " Data") 
    581  
    582         _ = self.tree_ctrl_theory.InsertItem(self.tree_ctrl_theory.root, 
    583                                             -1, " Theory") 
    584  
     575        self.tree_ctrl.InsertItem(self.tree_ctrl.root, -1, " Data") 
     576        self.tree_ctrl_theory.InsertItem(self.tree_ctrl_theory.root, 
     577                                         -1, " Theory") 
    585578        splitter.SplitHorizontally(self.tree_ctrl, self.tree_ctrl_theory) 
    586579        self.sizer1.Add(splitter, 1, wx.EXPAND | wx.ALL, 10) 
Note: See TracChangeset for help on using the changeset viewer.