Tree widget: first click on checkbox fails

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
weirdal
Posts:34
Joined: Thu Mar 12, 2015 11:37 am

Tree widget: first click on checkbox fails

Post by weirdal »

We are using the tree widget in checkbox mode (v3.15 p11).

Initial click on a checkbox does not receive data in the clicked() event; the event is triggered, but the values are empty:
clicked(string id, int column)

First click:
WCCOAui1:["Id: "]["Column: -1"]

Second and following clicks:
WCCOAui1:["Id: 1.2.1"]["Column: 0"]


Secondly, the tree widget has some issues when initialising in GEDI:
Start GEDI, open panel with tree widget on it, click on tree widget, switch to register "Extended" in Property Editor.
The first time after GEDI was started, the "clicked" event won't show the text "-script defined-" and when opened it is empty.
After closing and re-opening the panel, the script content is being displayed as expected.
Attachments
treewidget3.PNG
treewidget2.PNG
treewidget1.PNG

kilianvp
Posts:443
Joined: Fri Jan 16, 2015 10:29 am

Re: Tree widget: first click on checkbox fails

Post by kilianvp »

is the tree already completely initialized before you click?

i tried with Patch 24 and if the Tree widget is emtpy im getting "[""][-1]"

I couldn't reproduce the gedi error.

2 posts • Page 1 of 1