HI,
When you remove the last tab of a TabWidget (so the last WMenuItem of
WMenu) the menu selects the item 0 (index) like the current item but there
doesn't exist anymore.
I fix the problem replacing (line 163)
if (itemIndex <= current_ && current_ > 0)
by
if (itemIndex <= current_ && current_ >= 0)
and delete the contents of item (otherwise the contents stay showed)

Thanks

PS: There is problem with TabWidget Graphics without JS

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to