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>
This commit is contained in:
Gehad elrobey 2015-07-11 01:06:43 +02:00 committed by Lubomir I. Ivanov
parent d4382c7c4b
commit 7ca311ae85
3 changed files with 14 additions and 5 deletions

View file

@ -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;
};