Commit 50b3799a authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Dont allow selecting run column for targetSet row

parent b545807f
Pipeline #241620 passed with stage
in 13 minutes and 55 seconds
......@@ -439,6 +439,11 @@ Qt::ItemFlags TargetModel::flags(const QModelIndex &index) const
return Qt::NoItemFlags;
}
// run command column for target set row
if (index.column() == 2 && !index.parent().isValid()) {
return Qt::NoItemFlags;
}
if (index.internalId() != InvalidIndex && index.column() == 0) {
return Qt::ItemIsEditable | Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsUserCheckable;
}
......
Supports Markdown
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