diff --git a/mainwindow.cpp b/mainwindow.cpp index 39873c7..fe2eaed 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -355,7 +355,7 @@ void MainWindow::createActions() const QIcon reloadIcon = QIcon::fromTheme("document-revert"); QAction *reloadAct = fileMenu->addAction(reloadIcon, tr("Reload"), this, &MainWindow::reload); - reloadAct->setShortcuts(QKeySequence::Refresh); + reloadAct->setShortcut(QKeySequence(Qt::Key_F5)); reloadAct->setStatusTip(tr("Reload the document from disk")); fileMenu->addSeparator();