Skip to content

Commit

Permalink
Added Save Page to context menu
Browse files Browse the repository at this point in the history
Right click on a web page will display the save page action on context menu.
  • Loading branch information
ShaopengLin committed Jul 22, 2024
1 parent d73ddd0 commit a504ee7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/webview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ QMenu* WebView::createStandardContextMenu() {
KiwixApp::instance()->getTabWidget()->triggerWebPageAction(QWebEnginePage::Forward);
});

menu->addAction(app->getAction(KiwixApp::SavePageAsAction));

return menu;
}

Expand Down

0 comments on commit a504ee7

Please sign in to comment.