mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
bug corregido en goto dialog (aceptaba valores de p?gina <1)
This commit is contained in:
parent
3ba8ba8862
commit
31c062dbfe
@ -60,8 +60,12 @@ void GoToDialog::goTo()
|
||||
{
|
||||
unsigned int page = pageNumber->text().toInt();
|
||||
pageNumber->clear();
|
||||
emit(goToPage(page));
|
||||
|
||||
if(page >= 1)
|
||||
emit(goToPage(page));
|
||||
|
||||
close();
|
||||
|
||||
}
|
||||
|
||||
void GoToDialog::setNumPages(unsigned int numPages)
|
||||
|
Loading…
Reference in New Issue
Block a user