aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
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();
}
}