when updating the client menu for windows that aren't in the client menu, just ignore the request gracefully

This commit is contained in:
Dana Jansens 2002-08-10 16:53:17 +00:00
parent 175a7e5d1c
commit ff3d12175e

View file

@ -982,6 +982,6 @@ void Basemenu::reconfigure(void) {
void Basemenu::changeItemLabel(unsigned int index, const string& label) { void Basemenu::changeItemLabel(unsigned int index, const string& label) {
BasemenuItem *item = find(index); BasemenuItem *item = find(index);
assert(item); if (item)
item->newLabel(label); item->newLabel(label);
} }