diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-06 22:23:20 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-06 22:23:20 +0200 |
| commit | d9e105e6e0accf5def8681334341069117cab213 (patch) | |
| tree | 68764c76f67326aaa3f731ce70726e821c00e11a /browsertab.cpp | |
| parent | 87d787bc2c50eb00c6b86957efaa71e07f9acc07 (diff) | |
| download | kristall-d9e105e6e0accf5def8681334341069117cab213.tar.gz | |
Navigation via outline is now possible. Sexy!
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; |
