From c25abb3e5d85584cd5d224569093a8e36d231c33 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Wed, 18 Sep 2019 11:07:22 +0200 Subject: Process actions after new file created when Inkscape is opened. Partial fix for https://gitlab.com/inkscape/inkscape/issues/398 --- src/inkscape-application.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/inkscape-application.cpp') diff --git a/src/inkscape-application.cpp b/src/inkscape-application.cpp index e2f4b453f..4f370ee48 100644 --- a/src/inkscape-application.cpp +++ b/src/inkscape-application.cpp @@ -965,6 +965,9 @@ ConcreteInkscapeApplication::on_activate() shell(); // Shell will create its own windows. } else { create_window(); + for (auto action: _command_line_actions) { + Gio::Application::activate_action( action.first, action.second ); + } } } else { std::cerr << "InkscapeApplication::on_activate: Without GUI" << std::endl; -- cgit v1.2.3