mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-16 09:50:25 +00:00
(update_tool_bar): Redisplay toolbar also when only
number of items changes.
This commit is contained in:
parent
6b4d876273
commit
462eca8fcf
@ -9391,7 +9391,8 @@ update_tool_bar (f, save_match_data)
|
||||
&new_n_tool_bar);
|
||||
|
||||
/* Redisplay the tool-bar if we changed it. */
|
||||
if (NILP (Fequal (new_tool_bar, f->tool_bar_items)))
|
||||
if (new_n_tool_bar != f->n_tool_bar_items
|
||||
|| NILP (Fequal (new_tool_bar, f->tool_bar_items)))
|
||||
{
|
||||
/* Redisplay that happens asynchronously due to an expose event
|
||||
may access f->tool_bar_items. Make sure we update both
|
||||
|
Loading…
Reference in New Issue
Block a user