Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
50b3799a
Commit
50b3799a
authored
Oct 04, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
addons/katebuild-plugin/TargetModel.cpp
View file @
50b3799a
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment