summaryrefslogtreecommitdiffstats
path: root/src/inkscape-application.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-09-18 09:07:22 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-09-18 09:07:22 +0000
commitc25abb3e5d85584cd5d224569093a8e36d231c33 (patch)
tree527c61078d7444c27e17ba3fb95d37bbfca55cd0 /src/inkscape-application.cpp
parentFix cursor postion when text is laid out using 'x' and 'y' attributes. (diff)
downloadinkscape-c25abb3e5d85584cd5d224569093a8e36d231c33.tar.gz
inkscape-c25abb3e5d85584cd5d224569093a8e36d231c33.zip
Process actions after new file created when Inkscape is opened.
Partial fix for https://gitlab.com/inkscape/inkscape/issues/398
Diffstat (limited to 'src/inkscape-application.cpp')
-rw-r--r--src/inkscape-application.cpp3
1 files changed, 3 insertions, 0 deletions
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<T>::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;