Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
f36b7931
Commit
f36b7931
authored
Aug 18, 2020
by
Tobias Fella
Committed by
Nate Graham
May 06, 2021
Browse files
Fix renaming shortcut for files selected via selection button and popup
button BUG: 425436 (cherry picked from commit
6925dd2f
)
parent
801eebcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
containments/desktop/package/contents/ui/FolderItemDelegate.qml
View file @
f36b7931
...
@@ -400,7 +400,10 @@ Item {
...
@@ -400,7 +400,10 @@ Item {
FolderItemActionButton
{
FolderItemActionButton
{
element
:
model
.
selected
?
"
remove
"
:
"
add
"
element
:
model
.
selected
?
"
remove
"
:
"
add
"
onClicked
:
dir
.
toggleSelected
(
positioner
.
map
(
index
))
onClicked
:
{
dir
.
toggleSelected
(
positioner
.
map
(
index
))
main
.
GridView
.
view
.
currentIndex
=
index
}
}
}
}
}
...
@@ -414,6 +417,7 @@ Item {
...
@@ -414,6 +417,7 @@ Item {
onClicked
:
{
onClicked
:
{
dir
.
setSelected
(
positioner
.
map
(
index
))
dir
.
setSelected
(
positioner
.
map
(
index
))
main
.
GridView
.
view
.
currentIndex
=
index
openPopup
();
openPopup
();
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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