┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/viewpropertiesdialog.cpp
diff options
context:
space:
mode:
authorFelix Ernst <[email protected]>2022-05-24 14:46:45 +0200
committerFelix Ernst <[email protected]>2022-05-27 10:00:05 +0000
commitb2f18e411a929665257dad8c6a51f3e2e617cee5 (patch)
treee0c6ae0918bbb6e2b981bf0e9d77bcafb0dd4673 /src/settings/viewpropertiesdialog.cpp
parent58622f431b0d7d347333a4bc7b2f57fe17878f9d (diff)
Fix paste on row while in details view mode
Before this change, right-clicking the row of an unselected item in details view mode would be in a weird state: - It didn't really count as a click on the item because the item didn't get selected by this click before opening the context menu. - It didn't really count as a click on the view background either because the actions that showed up depended on the item in that row. This commit fixes this by considering a right-click in the same row as an unselected item as a click on the view background. The behaviour of right-clicking the icon or name of a file directly is unchanged. This fixes the following bugs: - The Paste action that shows up when right-clicking in the unselected row of a folder now works (instead of doing nothing). It now pastes the clipboard contents onto the view background. - When right-clicking the unselected row of a file (not a folder) a Paste action once again shows up.
Diffstat (limited to 'src/settings/viewpropertiesdialog.cpp')
0 files changed, 0 insertions, 0 deletions