[bug] Tab Controller: Not checking nil values

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

Chryso
Just popping in
Just popping in
Posts: 13
Joined: Sun Jul 06, 2008 09:51

[bug] Tab Controller: Not checking nil values

Postby Chryso » Mon Oct 06, 2008 18:32

Hi,

It seems that if you try to add a tab that is nil (I just had the error because i forgot to do some stuff before) the whole application + game crashes... (which makes debugging your lua code a bit hard when you don't have any dumps and you can't debug :) ).

So, just check for nil values I guess in the addTab and removeTab methods of the Tab Controller.

If the bug has already been reported, just delete the post :)

regards,

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Tue Oct 07, 2008 07:20

Thanks, sounds like a good catch :)

[edit]ticket: http://www.cegui.org.uk/mantis/view.php?id=232 [/edit]
Check out my released snake game using Cegui!


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 3 guests