Merge pull request #1725 from xiaoyifang/opt/article-history

opt: webview history navigation
This commit is contained in:
xiaoyifang 2024-08-13 18:04:05 +08:00 committed by GitHub
commit b3a1cb45f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1430,7 +1430,8 @@ QString ArticleView::getTitle()
QString ArticleView::getWord() const
{
return currentWord;
return webview->history()->currentItem().title();
// return currentWord;
}
void ArticleView::print( QPrinter * printer ) const