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
System
Dolphin
Commits
eb7a2e18
Commit
eb7a2e18
authored
May 01, 2022
by
Felix Ernst
🇺🇦
Browse files
Make touch tap to select items work in selection mode
Thanks to Steffen Hartleib for the help.
parent
2e588733
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kitemviews/kitemlistcontroller.cpp
View file @
eb7a2e18
...
...
@@ -1783,7 +1783,7 @@ bool KItemListController::onRelease(const QPointF& pos, const Qt::KeyboardModifi
} else {
const bool singleClickActivation = m_view->style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick) || m_singleClickActivationEnforced;
if (!singleClickActivation) {
emitItemActivated = touch;
emitItemActivated = touch
&& !m_selectionMode
;
} else {
// activate on single click only if we didn't come from a rubber band release
emitItemActivated = !rubberBandRelease;
...
...
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