summaryrefslogtreecommitdiffstats
path: root/src/inkscape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inkscape.cpp')
-rw-r--r--src/inkscape.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 5d9e217a8..abfffefc2 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -787,6 +787,13 @@ inkscape_application_init (const gchar *argv0, gboolean use_gui)
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
InkErrorHandler* handler = new InkErrorHandler(use_gui);
prefs->setErrorHandler(handler);
+ {
+ Glib::ustring msg;
+ Glib::ustring secondary;
+ if (prefs->getLastError( msg, secondary )) {
+ handler->handleError(msg, secondary);
+ }
+ }
inkscape_load_menus(inkscape);
sp_input_load_from_preferences();