summaryrefslogtreecommitdiff
path: root/riscos/hotlist.c
diff options
context:
space:
mode:
authorSteve Fryatt <stevef@netsurf-browser.org>2013-12-30 16:20:37 +0000
committerSteve Fryatt <stevef@netsurf-browser.org>2013-12-30 16:20:37 +0000
commitf64c8ed9ef976618d36f7e07285e4755c0c9c11c (patch)
treea7fc6299005511e9a10abcb88c3a5a22334ff855 /riscos/hotlist.c
parent6300c7ed90b472dc9a5f21d8054fd2e2689c8c9a (diff)
downloadnetsurf-f64c8ed9ef976618d36f7e07285e4755c0c9c11c.tar.gz
netsurf-f64c8ed9ef976618d36f7e07285e4755c0c9c11c.tar.bz2
Update the URL hotlist icon when entries are deleted from the hotlist.
This does not currently spot entries which are edited.
Diffstat (limited to 'riscos/hotlist.c')
-rw-r--r--riscos/hotlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/riscos/hotlist.c b/riscos/hotlist.c
index 3350ffb8b..714744043 100644
--- a/riscos/hotlist.c
+++ b/riscos/hotlist.c
@@ -241,6 +241,7 @@ void ro_gui_hotlist_toolbar_click(button_bar_action action)
switch (action) {
case TOOLBAR_BUTTON_DELETE:
hotlist_keypress(KEY_DELETE_LEFT);
+ ro_toolbar_update_all_hotlists();
break;
case TOOLBAR_BUTTON_EXPAND:
@@ -410,6 +411,7 @@ bool ro_gui_hotlist_menu_select(wimp_w w, wimp_i i, wimp_menu *menu,
return true;
case TREE_SELECTION_DELETE:
hotlist_keypress(KEY_DELETE_LEFT);
+ ro_toolbar_update_all_hotlists();
return true;
case TREE_SELECT_ALL:
hotlist_keypress(KEY_SELECT_ALL);