From d705cb34bb5a8d442b54784bb9105404bb304404 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Sat, 11 Jul 2015 12:50:14 +0200 Subject: Printing: update preview on apply settings On update call Printer to render on the QPixmap. Signed-off-by: Gehad elrobey Signed-off-by: Lubomir I. Ivanov --- qt-ui/templateedit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/templateedit.h') diff --git a/qt-ui/templateedit.h b/qt-ui/templateedit.h index 9b6d9167f..21cbc0321 100644 --- a/qt-ui/templateedit.h +++ b/qt-ui/templateedit.h @@ -33,6 +33,8 @@ private: struct print_options *printOptions; QString grantlee_template; void saveSettings(); + void updatePreview(); + }; #endif // TEMPLATEEDIT_H -- cgit v1.2.3-70-g09d2