mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
* recover the status bar by only showing the layout list hints when the layout list is visible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23683 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2f67f8c2b3
commit
bde87d4ce7
@ -494,12 +494,6 @@ GuiLayoutBox::GuiLayoutBox(GuiView & owner)
|
||||
|
||||
void GuiLayoutBox::setFilter(QString const & s)
|
||||
{
|
||||
if (!s.isEmpty())
|
||||
owner_.message(_("Filtering layouts with \"" + fromqstr(s) + "\". "
|
||||
"Press ESC to remove filter."));
|
||||
else
|
||||
owner_.message(_("Enter characters to filter the layout list."));
|
||||
|
||||
bool enabled = view()->updatesEnabled();
|
||||
view()->setUpdatesEnabled(false);
|
||||
|
||||
@ -535,6 +529,12 @@ void GuiLayoutBox::setFilter(QString const & s)
|
||||
|
||||
// The item delegate hack is off again. So trigger a relayout of the popup.
|
||||
filterModel_->triggerLayoutChange();
|
||||
|
||||
if (!s.isEmpty())
|
||||
owner_.message(_("Filtering layouts with \"" + fromqstr(s) + "\". "
|
||||
"Press ESC to remove filter."));
|
||||
else
|
||||
owner_.message(_("Enter characters to filter the layout list."));
|
||||
}
|
||||
|
||||
view()->setUpdatesEnabled(enabled);
|
||||
|
Loading…
Reference in New Issue
Block a user