when updating the client menu for windows that aren't in the client menu, just ignore the request gracefully
This commit is contained in:
parent
175a7e5d1c
commit
ff3d12175e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue