mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 17:18:23 -04:00
corregidos los ?ndices del di?logo bookmarks
This commit is contained in:
parent
f8865089dd
commit
d1ea427183
@ -135,7 +135,7 @@ bool BookmarksDialog::eventFilter(QObject *obj, QEvent *event)
|
||||
{
|
||||
if (obj == images.at(0))
|
||||
{
|
||||
emit(goToPage(lastPage+1));
|
||||
emit(goToPage(lastPage));
|
||||
close();
|
||||
event->accept();
|
||||
}
|
||||
@ -144,7 +144,7 @@ bool BookmarksDialog::eventFilter(QObject *obj, QEvent *event)
|
||||
if(obj == images.at(i))
|
||||
{
|
||||
bool b;
|
||||
int page = pages.at(i)->text().toInt(&b);
|
||||
int page = pages.at(i)->text().toInt(&b)-1;
|
||||
if(b)
|
||||
{
|
||||
emit(goToPage(page));
|
||||
|
Loading…
x
Reference in New Issue
Block a user