mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Assure filtered module items are not editable (#12127)
This commit is contained in:
parent
2874384414
commit
ad1e7da1fb
@ -1896,6 +1896,7 @@ void GuiDocument::filterModules(QString const & str)
|
||||
item->setData(m.name, Qt::DisplayRole);
|
||||
item->setData(toqstr(m.id), Qt::UserRole);
|
||||
item->setData(m.description, Qt::ToolTipRole);
|
||||
item->setEditable(false);
|
||||
if (m.local)
|
||||
item->setIcon(user_icon);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user