summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index aec7d96a9..537605e37 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -59,6 +59,7 @@
#include "document.h"
#include "layer-model.h"
#include "selection.h"
+#include "selection-chemistry.h"
#include "ui/interface.h"
#include "print.h"
#include "color.h"
@@ -1116,6 +1117,9 @@ static int sp_process_file_list(std::vector<gchar*> fl)
sp_item_list_to_curves(items, selected, to_select);
}
+ if(sp_export_area_drawing) {
+ fit_canvas_to_drawing(doc, false);
+ }
if(sp_export_id) {
doc->ensureUpToDate();