diff -r 25a950c2eb98 -r 6a6018ba4cc7 vymmodel.cpp --- a/vymmodel.cpp Tue Mar 09 08:29:09 2010 +0000 +++ b/vymmodel.cpp Tue Mar 09 09:37:57 2010 +0000 @@ -3149,7 +3149,7 @@ double x,y; int n; bool b,ok; - QVariant returnValue; + QVariant returnValue=""; // Split string s into command and parameters parser.parseAtom (atom); @@ -4183,6 +4183,7 @@ qWarning(parser.errorMessage()); noErr=false; errorMsg=parser.errorMessage(); + returnValue=errorMsg; } return returnValue; }