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 19:19:08 +0000 (20:19 +0100)
commite64cd5e1e78933620a53d3fdc6d2f2598767af3f
tree400053a3da3b225f8a008d838f3ddf85c421ebbb
parenta1a24daa615a4e0679546c8a7a673720d0dcc60f
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