From 906028b1841699bbb995cf7c12a855702fb93b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 4 Sep 2022 17:47:09 +0200 Subject: [PATCH] Always clear the page number field in GoToDialog when it is opened --- YACReader/goto_dialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/YACReader/goto_dialog.cpp b/YACReader/goto_dialog.cpp index ea783fb79..537ab9104 100644 --- a/YACReader/goto_dialog.cpp +++ b/YACReader/goto_dialog.cpp @@ -74,6 +74,7 @@ void GoToDialog::setNumPages(unsigned int numPages) void GoToDialog::open() { + pageNumber->clear(); pageNumber->setFocus(); QDialog::open(); }