diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-05 10:44:38 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-05 10:44:38 +0200 |
| commit | b917b6099ab8477488f0f352339aa6fca2235c36 (patch) | |
| tree | 1a29332613259a097dbbff2aa5fa78cdc05ab11d /mainwindow.cpp | |
| parent | da305e17be24b9db1c2014c6125399147ec404d9 (diff) | |
| download | kristall-b917b6099ab8477488f0f352339aa6fca2235c36.tar.gz | |
Starts to implement navigation history.
Diffstat (limited to 'mainwindow.cpp')
| -rw-r--r-- | mainwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index ae29881..4936c4a 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -71,11 +71,15 @@ void MainWindow::on_browser_tabs_currentChanged(int index) if(tab != nullptr) { this->ui->outline_view->setModel(&tab->outline); this->ui->outline_view->expandAll(); + + this->ui->history_view->setModel(&tab->history); } else { this->ui->outline_view->setModel(nullptr); + this->ui->history_view->setModel(nullptr); } } else { this->ui->outline_view->setModel(nullptr); + this->ui->history_view->setModel(nullptr); } } |
