Page 1 of 1

[BUG] CELayoutEditor: Unhandled Exception after renaming tab

Posted: Wed Jul 30, 2008 21:02
by Jamarr
Basically, if you rename a tab and then try to change the text it generates an Unhandled Exception saying that the tab you are trying to rename doesn't belong to the tabcontrol.

Steps:
  • Create a new layout
  • Add a TabControl
  • Select one of the tabs (ex. 'Root//Tab 1')
  • Rename the tab to anything (ex. 'Root//Tab')
  • Click on the 'Text' field that lets you change the widgets text
  • Press any ascii key (ex. 's': 'Global' -> 'Globals')
  • Notice the Unhandled Exception


Location: CELayoutEditor::ProcessUnhandledException
Message: Window::getChild - The Window object named 'Root/__auto_TabPane__Buttons__auto_btnTab' is not atached to Window 'Root/__auto_TabPane__Buttons'.
Filename: \Temp\CEGUI-0.6.1-vc7\src\CEGUIWindow.cpp
Line: 400


v0.6.1

*Side note: CELayoutEditor Help->About shows v0.6.0 even though I downloaded it from the v0.6.1 release thread.

Posted: Thu Jul 31, 2008 09:12
by scriptkid
Thanks again, this is a know bug though (http://www.cegui.org.uk/mantis/view.php?id=126). But it doesn't hurt to tell me twice ;)

Posted: Thu Jul 31, 2008 14:56
by Jamarr
ic, that is a rather old bug! :)

Admittedly after I posted it I thought, "maybe I should have looked to see if it was already reported?", but since I had already posted it and I'm a bit lazy I just shrugged it off ^_^