Commit 9b3909c8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't use 0 as flag

parent 91a96e0d
......@@ -120,7 +120,7 @@ QVariant FunctionListModel::data(const QModelIndex &index, int role) const
Qt::ItemFlags FunctionListModel::flags(const QModelIndex &index) const
if (!index.isValid())
return nullptr;
return Qt::NoItemFlags;
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment