Changeset df9492d in sasview for src/sas/perspectives


Ignore:
Timestamp:
Mar 24, 2015 9:19:54 AM (10 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:
b3fd1c7
Parents:
f994d7cd
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

    r9dea723 rdf9492d  
    329329        # Ouput selection box 
    330330        selection_msg = wx.StaticText(self, -1, "Select a dependent variable:") 
    331         self.output_box = wx.ComboBox(self, -1, style=wx.CB_DROPDOWN) 
     331        self.output_box = wx.ComboBox(self, -1, style=wx.CB_READONLY) 
    332332        for item in self.results.outputs.keys(): 
    333333            self.output_box.Append(item, "") 
     
    341341                         wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 10) 
    342342 
    343         wx.EVT_COMBOBOX(self.output_box, -1, self._plot_output) 
     343        self.Bind(wx.EVT_COMBOBOX, self._plot_output) 
     344        #wx.EVT_COMBOBOX(self.output_box, -1, self._plot_output) 
    344345        sizer_main.Add(output_sizer, 0, wx.EXPAND | wx.ALL, 10) 
    345346 
Note: See TracChangeset for help on using the changeset viewer.