Add the "Copy Selection" context menu item after checking for chat items
authorJerome Leclanche <adys.wh@gmail.com>
Fri, 18 Oct 2013 15:41:27 +0000 (16:41 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 24 Nov 2013 18:38:46 +0000 (19:38 +0100)
commit7f0bcdbfaa2f435baad9b833441aca86517cb84c
treeed0a8c63a7f0bd4e4e8de340f4db665c207e08e4
parent1fc8eb59a87c005ddfe7d21bc225bef8692b9743
Add the "Copy Selection" context menu item after checking for chat items

When right clicking a channel, Quassel will drop all other items from
the context menu.
We work around this by checking for a selection after everything else
has been added to the menu, and make sure to add the Copy Selection item
at the top.

Fixes issues #1031 and #1048
src/qtui/chatscene.cpp