Ignore:
Timestamp:
Apr 10, 2017 11:00:32 AM (8 years ago)
Author:
krzywon
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
6e6dd4c
Parents:
6267876
git-author:
Jeff Krzywon <krzywon@…> (04/10/17 11:00:32)
git-committer:
krzywon <krzywon@…> (04/10/17 11:00:32)
Message:

Resolve merge conflicts and 2 small fixes to slicer panel. #467

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/local_perspectives/plotting/parameters_panel_slicer.py

    r3f75203 r3e5648b  
    1414 
    1515FIT_OPTIONS = ["No fitting", "Fitting", "Batch Fitting"] 
     16CONVERT_KEYS = ["SectorInteractor", "AnnulusInteractor", "BoxInteractorX", 
     17                "BoxInteractorY"] 
    1618CONVERT_DICT = {"SectorInteractor": "SectorQ", 
    1719                "AnnulusInteractor": "AnnulusPhi", 
     
    138140            self.bck.Add(text, (iy, ix), (1, 1), 
    139141                         wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15) 
    140             self.type_list = CONVERT_DICT.keys() 
     142            self.type_list = CONVERT_KEYS 
    141143            self.type_select = wx.ComboBox(parent=self, choices=self.type_list) 
    142144            self.type_select.Bind(wx.EVT_COMBOBOX, self.on_change_slicer) 
     
    331333        Populate the check list from the currently plotted 2D data 
    332334        """ 
     335        # Reinitialize loaded data list on redraw 
     336        self.loaded_data = [] 
    333337        # Iterate over the loaded plots and find all 2D panels 
    334338        for key, value in self.main_window.plot_panels.iteritems(): 
Note: See TracChangeset for help on using the changeset viewer.