diff options
-rw-r--r-- | ui/qt5/horizonwizard.cc | 6 | ||||
-rw-r--r-- | ui/qt5/horizonwizard.hh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc index b44c8fa..3002c19 100644 --- a/ui/qt5/horizonwizard.cc +++ b/ui/qt5/horizonwizard.cc @@ -254,10 +254,10 @@ HorizonWizard::HorizonWizard(QWidget *parent) : QWizard(parent) { button(CancelButton), &QAbstractButton::click); f3->setWhatsThis(tr("Prompts to exit the installation.")); - f5 = new QShortcut(Qt::Key_F6, this); - connect(f5, &QShortcut::activated, + f6 = new QShortcut(Qt::Key_F6, this); + connect(f6, &QShortcut::activated, button(BackButton), &QAbstractButton::click); - f5->setWhatsThis(tr("Goes back to the previous page.")); + f6->setWhatsThis(tr("Goes back to the previous page.")); f8 = new QShortcut(Qt::Key_F8, this); connect(f8, &QShortcut::activated, diff --git a/ui/qt5/horizonwizard.hh b/ui/qt5/horizonwizard.hh index b025589..2d1b26b 100644 --- a/ui/qt5/horizonwizard.hh +++ b/ui/qt5/horizonwizard.hh @@ -86,7 +86,7 @@ public: }; HorizonWizard(QWidget *parent = nullptr); - QShortcut *f1, *f3, *f5, *f8; + QShortcut *f1, *f3, *f6, *f8; std::string mirror_domain; std::string version; |