Fix context menu not being restored properly
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 24 Nov 2013 18:55:00 +0000 (19:55 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 24 Nov 2013 19:19:16 +0000 (20:19 +0100)
commita33194771a0a41bbd5afbafec59c7ee860dab6cb
tree5cb70feb671f40ad756f2e077d67f02feb98b8c1
parente64cd5e1e78933620a53d3fdc6d2f2598767af3f
Fix context menu not being restored properly

When showing a context menu on a clickable, we used to hide existing
context menu item to avoid confusing the user. However, those actions
were never unhidden again. This resulted in the context menu not showing
most options ever again in subsequent invocations.

Instead of hiding the actions, we now just clear the menu.
src/qtui/chatitem.cpp