mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 06:24:39 -04:00
changed version number 6.5.0
fixed QLineEdit focus in goto_dialog
This commit is contained in:
@ -54,6 +54,9 @@ void GoToDialog::setupUI()
|
||||
|
||||
setWindowTitle(tr("Go to..."));
|
||||
setModal (true);
|
||||
|
||||
pageNumber->setFocusPolicy(Qt::StrongFocus);
|
||||
pageNumber->setFocus();
|
||||
}
|
||||
|
||||
void GoToDialog::goTo()
|
||||
@ -73,3 +76,9 @@ void GoToDialog::setNumPages(unsigned int numPages)
|
||||
numPagesLabel->setText(tr("Total pages : ")+QString::number(numPages));
|
||||
v->setTop(numPages);
|
||||
}
|
||||
|
||||
void GoToDialog::show()
|
||||
{
|
||||
pageNumber->setFocus();
|
||||
QDialog::show();
|
||||
}
|
Reference in New Issue
Block a user