diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 6002f751..9d030a7e 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -8,6 +8,7 @@ La edici Corregido el color de fondo en la lupa Nuevo botón para ajustar a lo alto Eliminada la opción always on top +Mostrar en carpeta contenedora arreglado en Windows y MacOSX 6.4 (No pública) Normalizado el renderizado de páginas en modo doble página diff --git a/YACReader/goto_dialog.cpp b/YACReader/goto_dialog.cpp index 4b865d07..b54805ca 100644 --- a/YACReader/goto_dialog.cpp +++ b/YACReader/goto_dialog.cpp @@ -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(); +} \ No newline at end of file diff --git a/YACReader/goto_dialog.h b/YACReader/goto_dialog.h index 9d13e647..ef8a36b7 100644 --- a/YACReader/goto_dialog.h +++ b/YACReader/goto_dialog.h @@ -23,6 +23,7 @@ public slots: void goTo(); void setNumPages(unsigned int numPages); + void show(); signals: void goToPage(unsigned int page); }; diff --git a/common/yacreader_global.h b/common/yacreader_global.h index cf9072df..a8097c06 100644 --- a/common/yacreader_global.h +++ b/common/yacreader_global.h @@ -1,7 +1,7 @@ #ifndef __YACREADER_GLOBAL_H #define __YACREADER_GLOBAL_H -#define VERSION "6.2.0" +#define VERSION "6.5.0" #define PATH "PATH" #define MAG_GLASS_SIZE "MAG_GLASS_SIZE"