summaryrefslogtreecommitdiffstats
path: root/qt-ui/templateedit.h
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-11 01:06:43 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-20 15:28:07 +0300
commit7ca311ae859199f1e07279bf78e1c36efc97768c (patch)
tree97ae2718b5fcfe7a4e7b4c4018a0911c0d5e223a /qt-ui/templateedit.h
parentd4382c7c4b802b030bab5e64de4b1641f603d543 (diff)
downloadsubsurface-7ca311ae859199f1e07279bf78e1c36efc97768c.tar.gz
Printing: save only if data is changed in template_options
Check if data is changed before saving the new settings. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/templateedit.h')
-rw-r--r--qt-ui/templateedit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/templateedit.h b/qt-ui/templateedit.h
index 296005652..325d7eef3 100644
--- a/qt-ui/templateedit.h
+++ b/qt-ui/templateedit.h
@@ -29,6 +29,7 @@ private slots:
private:
Ui::TemplateEdit *ui;
struct template_options *templateOptions;
+ struct template_options newTemplateOptions;
struct print_options *printOptions;
QString grantlee_template;
};