Alpha release: 0.8.0a6

<[email protected]>
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
Hello! I'm trying to finish a GUI tool.But someting seems not smoothly.I can't add a combo-box to any empty SLOTHere is the log file###################################################### Date and time:       2017-10-31T16:42:16.660158Python version:      3.6.3wxPython version:    4.0.0b2wxWidgets platform:  __WXMSW__wxGlade version:     0.8.0a6

2017-10-31 16:50:18,111 root ERROR: NoneAn unexpected error occurred!
Exception type:      <class 'IndexError'>Exception details:   list index out of range
Application stack traceback:  File "E:\上位机软件\wxglade\tree.py", line 739, in on_left_click    item.on_drop_widget(event)  File "E:\上位机软件\wxglade\edit_sizers\edit_sizers.py", line 383, in on_drop_widget    common.widgets[common.widget_to_add](self.parent, self.sizer, self.pos)  File "E:\上位机软件\wxglade\widgets\combo_box\combo_box.py", line 97, in builder    if parent.widget: combo.create()  File "E:\上位机软件\wxglade\edit_windows.py", line 145, in create    self.create_widget()  File "E:\上位机软件\wxglade\widgets\combo_box\combo_box.py", line 39, in create_widget    value = self.choices[selection][0] if selection!=-1 else ""###########################################################################- What did you? May you want to include a screenshot.I tried to add a combo_box to my slot,but it hits a bug!- What do you want to happen?I want to add a combox to a slotWhat actually happened?It occurs a bug.I can't add a combobox to my slot.- Provide a short example to reproduce the issue1.Add a sizer to my frame and create a slot
2.I click the combo-box ico the click the SLOT1.But a bug occurs.Looking forward to fix it!Lee.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general
附件1.png (image/png, 150.4 KB) - not displayed
附件2.png (image/png, 105.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.