mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
Fix pageWidget not showing if reading ePUB
This commit is contained in:
parent
b97b3c5f82
commit
df4e2e26a7
1 changed files with 6 additions and 6 deletions
12
reader.cpp
12
reader.cpp
|
@ -1358,15 +1358,15 @@ void reader::menubar_show() {
|
|||
}
|
||||
ui->graphicsView->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
|
||||
ui->graphicsView->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
|
||||
if(is_image == false) {
|
||||
ui->pageWidget->setVisible(true);
|
||||
}
|
||||
else {
|
||||
ui->pageWidget->setVisible(false);
|
||||
}
|
||||
}
|
||||
ui->buttonsBarWidget->setVisible(true);
|
||||
ui->statusBarWidget->setVisible(true);
|
||||
if(is_image == true) {
|
||||
ui->pageWidget->setVisible(false);
|
||||
}
|
||||
else {
|
||||
ui->pageWidget->setVisible(true);
|
||||
}
|
||||
|
||||
string_checkconfig_ro("/opt/inkbox_device");
|
||||
if(checkconfig_str_val == "n705\n" or checkconfig_str_val == "n905\n") {
|
||||
|
|
Loading…
Reference in a new issue