diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-10 19:27:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-10 19:27:16 +0300 |
commit | 051d2ee3bc0ec387acde86081d999b1c90a7806f (patch) | |
tree | 9932582eda03c3f22fa2f565f71c2401eae84dd9 /src/gui/popups/popupmenu.cpp | |
parent | 54ff787c3015e79989cd239947b0e033673c38ee (diff) | |
download | plus-051d2ee3bc0ec387acde86081d999b1c90a7806f.tar.gz plus-051d2ee3bc0ec387acde86081d999b1c90a7806f.tar.bz2 plus-051d2ee3bc0ec387acde86081d999b1c90a7806f.tar.xz plus-051d2ee3bc0ec387acde86081d999b1c90a7806f.zip |
Hide item popup if open popupmenu.s20170810
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-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 86bd4e4d5..8b97b7185 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -41,6 +41,7 @@ #include "gui/buttontext.h" #include "gui/gui.h" +#include "gui/popupmanager.h" #include "gui/viewport.h" #include "gui/windowmenu.h" @@ -2417,6 +2418,7 @@ void PopupMenu::showSkillTypePopup(const SkillInfo *const info) void PopupMenu::showPopup(int x, int y) { + popupManager->hideItemPopup(); const int pad2 = 2 * mPadding; mBrowserBox->setPosition(mPadding, mPadding); mScrollArea->setPosition(mPadding, mPadding); |