Assure filtered module items are not editable (#12127)

This commit is contained in:
Juergen Spitzmueller 2021-02-11 07:57:09 +01:00
parent 2874384414
commit ad1e7da1fb

View File

@ -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