summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/printoptions.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-23 16:40:05 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-24 21:50:16 +0200
commita2ec791f2fa9db99adbea0cd8820ed9c142f2349 (patch)
treed7f58f97712b076862185e125259f24a51734159 /desktop-widgets/printoptions.h
parentbc6146577d0c3524a02733d79811a6bc9310d839 (diff)
downloadsubsurface-a2ec791f2fa9db99adbea0cd8820ed9c142f2349.tar.gz
printing: store the last import / export template
Store the last template file name which the user imported / exported and then try to pre-select it in the combo box. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'desktop-widgets/printoptions.h')
-rw-r--r--desktop-widgets/printoptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/printoptions.h b/desktop-widgets/printoptions.h
index 9aaf8de70..1db0dfe61 100644
--- a/desktop-widgets/printoptions.h
+++ b/desktop-widgets/printoptions.h
@@ -72,6 +72,7 @@ private:
struct print_options *printOptions;
struct template_options *templateOptions;
bool hasSetupSlots;
+ QString lastImportExportTemplate;
void setupTemplates();
private