mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -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))
|
if (obj == images.at(0))
|
||||||
{
|
{
|
||||||
emit(goToPage(lastPage+1));
|
emit(goToPage(lastPage));
|
||||||
close();
|
close();
|
||||||
event->accept();
|
event->accept();
|
||||||
}
|
}
|
||||||
@ -144,7 +144,7 @@ bool BookmarksDialog::eventFilter(QObject *obj, QEvent *event)
|
|||||||
if(obj == images.at(i))
|
if(obj == images.at(i))
|
||||||
{
|
{
|
||||||
bool b;
|
bool b;
|
||||||
int page = pages.at(i)->text().toInt(&b);
|
int page = pages.at(i)->text().toInt(&b)-1;
|
||||||
if(b)
|
if(b)
|
||||||
{
|
{
|
||||||
emit(goToPage(page));
|
emit(goToPage(page));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user