summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-10 19:27:16 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-10 19:27:16 +0300
commit051d2ee3bc0ec387acde86081d999b1c90a7806f (patch)
tree9932582eda03c3f22fa2f565f71c2401eae84dd9 /src/gui/popups
parent54ff787c3015e79989cd239947b0e033673c38ee (diff)
downloadmv-051d2ee3bc0ec387acde86081d999b1c90a7806f.tar.gz
mv-051d2ee3bc0ec387acde86081d999b1c90a7806f.tar.bz2
mv-051d2ee3bc0ec387acde86081d999b1c90a7806f.tar.xz
mv-051d2ee3bc0ec387acde86081d999b1c90a7806f.zip
Hide item popup if open popupmenu.s20170810
Diffstat (limited to 'src/gui/popups')
-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 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);