diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-21 13:08:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-21 13:08:26 +0300 |
commit | 9da6a5423c2faeb2bc0b85727aed19e4fc76f25b (patch) | |
tree | fddb8b91ecd819d273f5a862ccd9fd49bf1a8312 | |
parent | eb5133f5bd812df62597d71bdd7d81fa8c0e9d71 (diff) | |
download | ManaVerse-9da6a5423c2faeb2bc0b85727aed19e4fc76f25b.tar.gz ManaVerse-9da6a5423c2faeb2bc0b85727aed19e4fc76f25b.tar.bz2 ManaVerse-9da6a5423c2faeb2bc0b85727aed19e4fc76f25b.tar.xz ManaVerse-9da6a5423c2faeb2bc0b85727aed19e4fc76f25b.zip |
Show in chat context menu, options from normal windows.
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 2 |
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")); |