From 9da6a5423c2faeb2bc0b85727aed19e4fc76f25b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Aug 2014 13:08:26 +0300 Subject: Show in chat context menu, options from normal windows. --- src/gui/popups/popupmenu.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/popups/popupmenu.cpp') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index cf853966d..88316535c 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -623,6 +623,7 @@ void PopupMenu::showChatPopup(const int x, const int y, ChatTab *const tab) mTab = tab; mX = x; mY = y; + mWindow = chatWindow; mBrowserBox->clearRows(); @@ -807,6 +808,7 @@ void PopupMenu::showChatPopup(const int x, const int y, ChatTab *const tab) mBrowserBox->addRow("##3---"); } } + addWindowMenu(chatWindow); // TRANSLATORS: popup menu item // TRANSLATORS: close menu mBrowserBox->addRow("cancel", _("Cancel")); -- cgit v1.2.3-60-g2f50