fixed:fixed bug 3781

This commit is contained in:
shaojun 2019-10-09 17:06:11 +08:00
parent 6b3c871ee0
commit 3296936ac1

View File

@ -90,8 +90,10 @@ void NormalContainer::refreshVisible()
const QPropertyAnimation::State state = m_sizeAnimation->state();
if (state == QPropertyAnimation::Stopped && size() == endSize)
if (state == QPropertyAnimation::Stopped && size() == endSize) {
setVisible(expand());
return;
}
if (state == QPropertyAnimation::Running)
return m_sizeAnimation->setEndValue(endSize);