diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-07-05 07:29:46 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-07-05 21:03:12 +0300 |
commit | cc53dc7acf801f022612678f697e6d76c2443153 (patch) | |
tree | 6eabb01a37ec3d39db9956b764ab2ce58681bab6 /qt-ui/printoptions.cpp | |
parent | c44496e23d3e16ec6b5622eea73ae39d991e27bf (diff) | |
download | subsurface-cc53dc7acf801f022612678f697e6d76c2443153.tar.gz |
Printing: implement QPlainTextEdit in TemplateEdit
This is the main area to edit the templates inside Subsurface.
Whenever the user edits a template the edited template is saved in
custom.html and custom.html is considered the selected printing
template.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printoptions.cpp')
-rw-r--r-- | qt-ui/printoptions.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/printoptions.cpp b/qt-ui/printoptions.cpp index f3c6eb14c..0e6a0b320 100644 --- a/qt-ui/printoptions.cpp +++ b/qt-ui/printoptions.cpp @@ -110,4 +110,5 @@ void PrintOptions::on_editButton_clicked() { TemplateEdit te(this, printOptions, templateOptions); te.exec(); + setup(); } |