Menu

#222 Cannot add toolbar items.

closed
None
0.8.0a8
2017-11-20
2017-11-19
No

I am a beginner, please go easy on me.

How to reproduce:
Create a new project and then add a form

add a toolbar

go to Properties window and click "Edit tools..." on common tab.

just click "Add" on Toolbar Editor.

then, Error diarog appears.

Error details are here.
ERROR : None
An unexpected error occurred!

Exception type: <class 'attributeerror'="">
Exception details: 'list' object has no attribute 'label'</class>

Application stack traceback:
File "/home/myname/wxglade-0.8.0a8/widgets/toolbar/toolbar.py", line 228, in add_item
self._insert_item(index, item)
File "/home/myname/wxglade-0.8.0a8/widgets/toolbar/toolbar.py", line 375, in _insert_item
compat.ListCtrl_InsertStringItem(self.items, index, item.label)

Date and time: 2017-11-20T02:58:34.561686
Python version: 3.5.2
wxPython version: 4.0.0b2
wxWidgets platform: WXGTK
wxGlade version: 0.8.0a8

this is on ubuntu, and same diarog appears on Windows10.
Date and time: 2017-11-20T02:53:00.842562
Python version: 3.6.1
wxPython version: 3.0.3.dev2864+4fc5f9e
wxWidgets platform: WXMSW
wxGlade version: 0.8.0a8

Discussion

  • Dietmar Schwertberger

    • status: open --> closed
    • assigned_to: Dietmar Schwertberger
     
  • Dietmar Schwertberger

    Hi Kouhei,
    thanks for reporting. This is fixed now with 0.8.0a9, which I have just uploaded.
    I have to admit that I rarely use the menu or toolbar editor myself. The toolbar editor is still very basic.

    Regards,
    Dietmar

     
  • Yamada Kouhei

    Yamada Kouhei - 2017-11-20

    Thank you!

     

Log in to post a comment.

MongoDB Logo MongoDB