Reader: UI fixes

This commit is contained in:
Nicolas Mailloux 2023-06-16 12:40:58 -04:00
parent 89c9de1b1d
commit 39dc99a2bc

View file

@ -314,6 +314,12 @@ reader::reader(QWidget *parent) :
ui->brightnessBtn->setVisible(true); ui->brightnessBtn->setVisible(true);
ui->line_15->setVisible(true); ui->line_15->setVisible(true);
} }
else {
ui->brightnessBtn->setVisible(false);
ui->brightnessBtn->deleteLater();
ui->line_15->setVisible(false);
ui->line_15->deleteLater();
}
ui->menuBarWidget->setVisible(false); ui->menuBarWidget->setVisible(false);
ui->buttonsBarWidget->setVisible(false); ui->buttonsBarWidget->setVisible(false);
ui->pdfScaleWidget->setVisible(false); ui->pdfScaleWidget->setVisible(false);