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 18:55:00 +0000 (19:55 +0100)
commita7f69cdd5a7ddd31fc461bc41f2320ba3e3e4738
tree6ded24b76731133b6e9230ef18354c1bcc0ea37d
parent7f0bcdbfaa2f435baad9b833441aca86517cb84c
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