Skip to content

Commit

Permalink
Always clear the page number field in GoToDialog when it is opened
Browse files Browse the repository at this point in the history
  • Loading branch information
luisangelsm committed Sep 4, 2022
1 parent e92a537 commit 906028b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions YACReader/goto_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ void GoToDialog::setNumPages(unsigned int numPages)

void GoToDialog::open()
{
pageNumber->clear();
pageNumber->setFocus();
QDialog::open();
}

0 comments on commit 906028b

Please sign in to comment.