summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-21 13:08:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-21 13:08:26 +0300
commit9da6a5423c2faeb2bc0b85727aed19e4fc76f25b (patch)
treefddb8b91ecd819d273f5a862ccd9fd49bf1a8312 /src
parenteb5133f5bd812df62597d71bdd7d81fa8c0e9d71 (diff)
downloadplus-9da6a5423c2faeb2bc0b85727aed19e4fc76f25b.tar.gz
plus-9da6a5423c2faeb2bc0b85727aed19e4fc76f25b.tar.bz2
plus-9da6a5423c2faeb2bc0b85727aed19e4fc76f25b.tar.xz
plus-9da6a5423c2faeb2bc0b85727aed19e4fc76f25b.zip
Show in chat context menu, options from normal windows.
Diffstat (limited to 'src')
-rw-r--r--src/gui/popups/popupmenu.cpp2
1 files changed, 2 insertions, 0 deletions
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"));