diff --git a/NEWS.md b/NEWS.md
index 37e85c9b..b7583a1d 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -2,6 +2,7 @@ Red Panda C++ Version 1.0.4
- fix: hide function tips, when move or resize the main window
- enhancement: add help link for regular expression in search dialog
- enhancement: remember current problem set's filename
+ - enhancement: F1 shorcut opens offcial website
Red Panda C++ Version 1.0.3
- fix: when oj problem grabbed by competitive companion received,
diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp
index 8c82fd2e..ca258fe4 100644
--- a/RedPandaIDE/mainwindow.cpp
+++ b/RedPandaIDE/mainwindow.cpp
@@ -7256,7 +7256,7 @@ void MainWindow::on_actionGit_Restore_triggered()
void MainWindow::on_actionWebsite_triggered()
{
if (pSettings->environment().language()=="zh_CN") {
- QDesktopServices::openUrl(QUrl("https://royqh1979.gitee.io/redpandacpp/"));
+ QDesktopServices::openUrl(QUrl("https://royqh1979.gitee.io/redpandacpp/docsy/docs/"));
} else {
QDesktopServices::openUrl(QUrl("https://sourceforge.net/projects/redpanda-cpp/"));
}
diff --git a/RedPandaIDE/mainwindow.ui b/RedPandaIDE/mainwindow.ui
index 6dd4c956..987c956b 100644
--- a/RedPandaIDE/mainwindow.ui
+++ b/RedPandaIDE/mainwindow.ui
@@ -2953,6 +2953,9 @@
Website
+
+ F1
+