return _lastError;
}
-void Py2YacsModel::exportToXml(const std::string& path)
+bool Py2YacsModel::exportToXml(const std::string& path)
{
+ bool ok = true;
if(schemaAvailable())
{
try
{
_lastError = e.what();
_lastError += "\n";
+ ok = false;
}
}
emit errorChanged(_lastError.c_str());
+ return ok;
}
void Py2YacsModel::setFunctionName(const QString& functionName)