Available modules should not be editable.

This commit is contained in:
Juergen Spitzmueller 2019-04-18 17:33:37 +02:00
parent 25087bded9
commit 8ecef0fcbc

View File

@ -4255,6 +4255,7 @@ void GuiDocument::updateAvailableModules()
modules_av_model_.insertRow(i, catItem);
++i;
}
item->setEditable(false);
catItem->setEditable(false);
item->setData(m.name, Qt::DisplayRole);
item->setData(toqstr(m.id), Qt::UserRole);