From 865da65915f714c1473688d70878c00511e232f6 Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Sat, 26 Dec 2020 15:53:43 +1100 Subject: Fix fav_button not being re-checked after cancelling 'delete favourite' messagebox --- src/browsertab.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/browsertab.cpp') 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); } -- cgit v1.2.3