Fix assertion that was revealed in my tree.

This really has to be QComboBox::showPopup(). Otherwise, we'll hit the LASSERT(!d->inShowPopup_, /**/); in either LayoutBox::showPopup() or LayoutBox::Private::showPopup().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31020 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-08-13 21:32:55 +00:00
parent 40c9f9d9eb
commit 072237ab4b

View File

@ -380,7 +380,7 @@ void LayoutBox::Private::setFilter(QString const & s)
// on the QComboBox.
LASSERT(!inShowPopup_, /**/);
inShowPopup_ = true;
p->showPopup();
p->QComboBox::showPopup();
inShowPopup_ = false;
// The item delegate hack is off again. So trigger a relayout of the popup.