diff options
| author | Mike Skec <skec@protonmail.ch> | 2020-12-26 15:53:43 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2020-12-26 10:27:55 +0100 |
| commit | 865da65915f714c1473688d70878c00511e232f6 (patch) | |
| tree | 9e393bf393c82b6e8ddef6f9d5a835c3e7819efb /src/browsertab.cpp | |
| parent | b0c3298e0574644f8097349b56c6fe14977f2826 (diff) | |
| download | kristall-865da65915f714c1473688d70878c00511e232f6.tar.gz | |
Fix fav_button not being re-checked after cancelling 'delete favourite' messagebox
Diffstat (limited to 'src/browsertab.cpp')
| -rw-r--r-- | src/browsertab.cpp | 3 |
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); } |
