Entering invalid number (e.g. the letter "k") in the Text field for a Spinner element terminates the editor, reporting an exception
Code: Select all
19/02/2009 12:27:12 (Error) CEGUI::InvalidRequestException in file \Temp\CEGUI-0.6.2-vc7\src\elements\CEGUISpinner.cpp(257) : Spinner::getValueFromText - The string 'k' can not be converted to numerical representation.
19/02/2009 12:27:12 (Error) CELayoutEditor has detected and caught an exception. The following detailed info is available:
Description: CELayoutEditor has encountered an unhandled CEGUI exception and needs to terminate.
Exception Location: CELayoutEditor::ProcessUnhandledException
Exception Message: Spinner::getValueFromText - The string 'k' can not be converted to numerical representation.
Exception Filename: \Temp\CEGUI-0.6.2-vc7\src\elements\CEGUISpinner.cpp
Exception Line: 257
This is fairly minor, as you have to somehow enter non-numeric text in there either accidentally or because you don't initially realise what it relates to. It also gives you the option of saving before it shuts down, which is helpful (didn't actually try it). But could still be occasionally annoying.