diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2021-03-08 00:46:03 +0100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-03-08 02:23:16 +0100 |
| commit | 4e18c888b159af48bed5ef5f1ebef80e48cd494a (patch) | |
| tree | bbacf57f1706b9cec040e25e071681582218a386 /src/mainwindow.cpp | |
| parent | ff3ef5049e1a8fd963669bdbbae451f24a824dc6 (diff) | |
New HTML rendering via HTML code generation.
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index dc87575..ea34b74 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -415,7 +415,6 @@ void MainWindow::on_outline_view_clicked(const QModelIndex &index) { BrowserTab * tab = this->curTab(); if(tab != nullptr) { - auto anchor = tab->outline.getAnchor(index); if(not anchor.isEmpty()) { tab->scrollToAnchor(anchor); @@ -791,3 +790,8 @@ void MainWindow::on_history_view_activated(const QModelIndex &index) tab->navigateBack(index); } } + +void MainWindow::on_outline_view_activated(const QModelIndex &index) +{ + this->on_outline_view_clicked(index); +} |
