Commit fcf83e35 authored by Bharadwaj Raju's avatar Bharadwaj Raju 📚 Committed by Nate Graham
Browse files

[applets/clipboard] Fix selecting clipboard entries with Enter

Previously it would set it as the first one only to be immediately
pushed a place down to second.


(cherry picked from commit b0129e27)
parent 3ee49d5c
...@@ -32,7 +32,6 @@ ColumnLayout { ...@@ -32,7 +32,6 @@ ColumnLayout {
var uuid = clipboardMenu.model.get(clipboardMenu.view.currentIndex).UuidRole var uuid = clipboardMenu.model.get(clipboardMenu.view.currentIndex).UuidRole
if (uuid) { if (uuid) {
clipboardSource.service(uuid, "select") clipboardSource.service(uuid, "select")
clipboardMenu.view.currentIndex = 0
if (plasmoid.hideOnWindowDeactivate) { if (plasmoid.hideOnWindowDeactivate) {
plasmoid.expanded = false; plasmoid.expanded = false;
} }
......
Markdown is supported
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