summaryrefslogtreecommitdiffstats
path: root/src/desktop.h
diff options
context:
space:
mode:
authorRick Yorgason <rick@firefang.com>2018-10-27 05:12:24 +0000
committerRick Yorgason <rick@firefang.com>2018-10-27 05:12:24 +0000
commit4c0e452576d5b27f3dce96436c7ebe0bdd913d65 (patch)
treec8180999c9580ca9f09ca753cb469ae0891cd4a0 /src/desktop.h
parentUpdated en_GB po (diff)
downloadinkscape-4c0e452576d5b27f3dce96436c7ebe0bdd913d65.tar.gz
inkscape-4c0e452576d5b27f3dce96436c7ebe0bdd913d65.zip
Remembers printer settings between calls to the print dialogue. Fixes bug #1711112.
Diffstat (limited to 'src/desktop.h')
-rw-r--r--src/desktop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/desktop.h b/src/desktop.h
index ec6ea99f7..b4e5da35d 100644
--- a/src/desktop.h
+++ b/src/desktop.h
@@ -34,6 +34,7 @@
#include "preferences.h"
#include "object/sp-gradient.h" // TODO refactor enums out to their own .h file
+#include "ui/dialog/print.h"
class SPCSSAttr;
struct SPCanvas;
@@ -147,6 +148,8 @@ public:
DocumentInterface *dbus_document_interface;
Inkscape::Display::TemporaryItemList *temporary_item_list;
Inkscape::Display::SnapIndicator *snapindicator;
+ /// Stored settings for print dialogue
+ Inkscape::UI::Dialog::PrinterSettings printer_settings;
Inkscape::UI::Tools::ToolBase* getEventContext() const;
Inkscape::Selection* getSelection() const;