* show filter hint in status bar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23481
a592a061-630c-0410-9148-
cb99ea01b6c8
// FIXME: There must be a better way. The QComboBox::AdjustToContents)
// does not help.
if (view()->isVisible())
- showPopup();
+ QComboBox::showPopup();
}
}
+void GuiLayoutBox::showPopup()
+{
+ resetFilter();
+ owner_.message(_("Enter characters to filter the layout list."));
+ QComboBox::showPopup();
+}
+
+
bool GuiLayoutBox::eventFilter(QObject * o, QEvent * e)
{
if (e->type() != QEvent::KeyPress)
/// Add Item to Layout box according to sorting settings from preferences
void addItemSort(docstring const & item, bool sorted);
+ ///
+ void showPopup();
+
///
bool eventFilter(QObject * o, QEvent * e);
///