Fix virtual-keyboard not changing size, when the user changes the scaler while it is not visible.

svn-id: r47544
This commit is contained in:
Johannes Schickel 2010-01-25 02:08:28 +00:00
parent 709bf1214c
commit 64491356b8
2 changed files with 4 additions and 2 deletions

View file

@ -247,10 +247,12 @@ bool XMLParser::closeKey() {
}
bool XMLParser::parse() {
if (_stream == 0)
return parserError("XML stream not ready for reading.");
// Make sure we are at the start of the stream.
_stream->seek(0, SEEK_SET);
if (_XMLkeys == 0)
buildLayout();