index a0f7f433788d7bedc5224009a3c478ccc6ae3f0d..4836774641918a77e6d52e8c6478f14cad683826 100644 (file)
/*
- * This dialog is for launching scripts whose main purpose if
- * the scripting of Inkscape itself.
- *
- * Authors:
- * Bob Jamison
* Other dudes from The Inkscape Organization
*
* Copyright (C) 2004, 2005 Authors
Glib::ustring output;
Glib::ustring error;
Inkscape::Extension::Script::InkscapeScript engine;
- engine.interpretScript(script, output, error, lang);
+ bool ok = engine.interpretScript(script, output, error, lang);
+ if (!ok) return;
outputText.get_buffer()->set_text(output);
errorText.get_buffer()->set_text(error);
}