diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 14eab457..bdbdbb2d 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -325,6 +325,7 @@ void MainWindow::initMenu() { connect(ui->actionAbout, &QAction::triggered, this, &MainWindow::menuAboutClicked); connect(ui->actionOfficialWebsite, &QAction::triggered, [this](){Utils::externalLinkWarning(this, "https://featherwallet.org");}); connect(ui->actionDonate_to_Feather, &QAction::triggered, this, &MainWindow::donateButtonClicked); + connect(ui->actionDocumentation, &QAction::triggered, this, &MainWindow::onShowDocumentaton); connect(ui->actionReport_bug, &QAction::triggered, this, &MainWindow::onReportBug); connect(ui->actionShow_debug_info, &QAction::triggered, this, &MainWindow::showDebugInfo); @@ -339,6 +340,7 @@ void MainWindow::initMenu() { ui->actionSettings->setShortcut(QKeySequence("Ctrl+Alt+S")); ui->actionUpdate_balance->setShortcut(QKeySequence("Ctrl+U")); ui->actionShow_Searchbar->setShortcut(QKeySequence("Ctrl+F")); + ui->actionDocumentation->setShortcut(QKeySequence("F1")); } void MainWindow::initHome() { @@ -1463,14 +1465,12 @@ void MainWindow::onCreateDesktopEntry(bool checked) { QMessageBox::information(this, "Desktop entry", msg); } +void MainWindow::onShowDocumentaton() { + Utils::externalLinkWarning(this, "https://docs.featherwallet.org"); +} + void MainWindow::onReportBug(bool checked) { - QMessageBox::information(this, "Reporting Bugs", - "
Please report any bugs as issues on our git repo: