fix previous popup widgets not hide

Change-Id: I0c7526015303c19aa7fde206578583ba7ac50794
This commit is contained in:
石博文 2016-07-08 13:59:43 +08:00 committed by Hualet Wang
parent 2189f4a7b6
commit 19f6c34f68

View File

@ -144,6 +144,9 @@ void DockItem::showPopupTips()
return;
DArrowRectangle *tips = PopupTips.get();
QWidget *lastContent = tips->getContent();
if (lastContent)
lastContent->hide();
switch (DockPosition)
{