aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-01-04 13:02:40 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-01-04 11:17:12 +0100
commit3d795469818177c5b9932df3577bb6e9c1d0ab2e (patch)
treeda974e41296f5084ca6b0c1567d741196cab696c /src/mainwindow.cpp
parent7ec3ed15aa99148f1c8df86bb49202da67d6813d (diff)
downloadkristall-3d795469818177c5b9932df3577bb6e9c1d0ab2e.tar.gz
New popup when adding to favourites!
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
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();
}
}