aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index 1e440be..136a01f 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -197,7 +197,10 @@ void BrowserTab::toggleIsFavourite(bool shouldBeFavourite)
tr("Do you really want to remove this page from your favourites?")
);
if(answer != QMessageBox::Yes)
+ {
+ this->updateUI();
return;
+ }
kristall::favourites.removeUrl(this->current_location);
}