Changeset 9dea723 in sasview


Ignore:
Timestamp:
Mar 24, 2015 8:48:50 AM (9 years ago)
Author:
Doucet, Mathieu <doucetm@…>
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:
f994d7cd
Parents:
c1bffa5
Message:

Make sure the drop down acts like a drop down…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/perspectives/pr/explore_dialog.py

    r8b21fa7 r9dea723  
    329329        # Ouput selection box 
    330330        selection_msg = wx.StaticText(self, -1, "Select a dependent variable:") 
    331         self.output_box = wx.ComboBox(self, -1) 
     331        self.output_box = wx.ComboBox(self, -1, style=wx.CB_DROPDOWN) 
    332332        for item in self.results.outputs.keys(): 
    333333            self.output_box.Append(item, "") 
    334334        self.output_box.SetStringSelection(DEFAULT_OUTPUT) 
     335        self.output_box.SetEditable(False) 
    335336 
    336337        output_sizer = wx.GridBagSizer(5, 5) 
Note: See TracChangeset for help on using the changeset viewer.