diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-01-04 13:02:40 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-01-04 11:17:12 +0100 |
| commit | 3d795469818177c5b9932df3577bb6e9c1d0ab2e (patch) | |
| tree | da974e41296f5084ca6b0c1567d741196cab696c /src/mainwindow.cpp | |
| parent | 7ec3ed15aa99148f1c8df86bb49202da67d6813d (diff) | |
| download | kristall-3d795469818177c5b9932df3577bb6e9c1d0ab2e.tar.gz | |
New popup when adding to favourites!
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 b2b7b15..38077ee 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -226,6 +226,10 @@ void MainWindow::on_browser_tabs_currentChanged(int index) { tab->rerenderPage(); } + else + { + tab->refreshFavButton(); + } } else { this->ui->outline_view->setModel(nullptr); this->ui->history_view->setModel(nullptr); @@ -445,7 +449,7 @@ void MainWindow::on_actionAdd_to_favourites_triggered() { BrowserTab * tab = this->curTab(); if(tab != nullptr) { - tab->toggleIsFavourite(); + tab->addToFavouritesPopup(); } } |
