mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Don't if true then true
Set the values directly, seems much more sane. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1210d4b575
commit
dec2572ec6
1 changed files with 2 additions and 4 deletions
|
@ -34,10 +34,8 @@ void PrintOptions::setup()
|
|||
setupTemplates();
|
||||
|
||||
// general print option checkboxes
|
||||
if (printOptions->color_selected)
|
||||
ui.printInColor->setChecked(true);
|
||||
if (printOptions->print_selected)
|
||||
ui.printSelected->setChecked(true);
|
||||
ui.printInColor->setChecked(printOptions->color_selected);
|
||||
ui.printSelected->setChecked(printOptions->print_selected);
|
||||
|
||||
// connect slots only once
|
||||
if (hasSetupSlots)
|
||||
|
|
Loading…
Add table
Reference in a new issue