diff options
Diffstat (limited to 'browsertab.cpp')
| -rw-r--r-- | browsertab.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/browsertab.cpp b/browsertab.cpp index 6543c86..e81dc39 100644 --- a/browsertab.cpp +++ b/browsertab.cpp @@ -104,6 +104,12 @@ void BrowserTab::navOneForward() navigateBack(history.oneForward(current_history_index)); } +void BrowserTab::scrollToAnchor(QString const & anchor) +{ + qDebug() << "scroll to anchor" << anchor; + this->ui->text_browser->scrollToAnchor(anchor); +} + void BrowserTab::on_menu_button_clicked() { QMenu menu; |
