Fixed regression when using panels (no bug, r=me).
This commit is contained in:
parent
fc88cd3cb1
commit
2edfb0aaac
@ -377,7 +377,7 @@ void BaseMenuStyle::ClientPressedKey(int client, unsigned int key_press)
|
||||
RemoveClientFromWatch(client);
|
||||
}
|
||||
|
||||
Handle_t hndl = menu->GetHandle();
|
||||
Handle_t hndl = menu ? menu->GetHandle() : BAD_HANDLE;
|
||||
AutoHandleRooter ahr(hndl);
|
||||
|
||||
if (cancel)
|
||||
|
Loading…
Reference in New Issue
Block a user