diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-08-21 19:13:20 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-08-22 18:36:58 +0300 |
commit | b6d373520457d702f47d6026cea1c8c57c6528c5 (patch) | |
tree | 2445dd5707430f3f87161a4ef4b8862015161095 /qt-ui | |
parent | 69f2921ffa856e93acb9bc920f3f761db2831880 (diff) | |
download | subsurface-b6d373520457d702f47d6026cea1c8c57c6528c5.tar.gz |
Printing: enable UI elements that now can be used
The new statistics code, enable the editing of colors, font, and other
template options.
This patch enables the UI elements for these features.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/printoptions.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/qt-ui/printoptions.cpp b/qt-ui/printoptions.cpp index 70cd89711..cb944f9d7 100644 --- a/qt-ui/printoptions.cpp +++ b/qt-ui/printoptions.cpp @@ -93,15 +93,12 @@ void PrintOptions::on_radioDiveListPrint_toggled(bool check) printOptions->type = print_options::DIVELIST; // print options - ui.printInColor->setEnabled(true); ui.printSelected->setEnabled(true); // print template ui.deleteButton->setEnabled(true); - ui.editButton->setEnabled(true); ui.exportButton->setEnabled(true); ui.importButton->setEnabled(true); - ui.printTemplate->setEnabled(true); setupTemplates(); } @@ -113,15 +110,12 @@ void PrintOptions::on_radioStatisticsPrint_toggled(bool check) printOptions->type = print_options::STATISTICS; // print options - ui.printInColor->setEnabled(false); ui.printSelected->setEnabled(false); // print template ui.deleteButton->setEnabled(false); - ui.editButton->setEnabled(false); ui.exportButton->setEnabled(false); ui.importButton->setEnabled(false); - ui.printTemplate->setEnabled(false); setupTemplates(); } |