effects/overview: Save desktop name when the text field loses focus
Replace onAccepted with onEditingFinished.
This commit is contained in:
parent
f0f2f0f469
commit
61f7b2e499
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ Item {
|
|||
visible: label.state == "editing"
|
||||
color: PlasmaCore.ColorScope.textColor
|
||||
text: delegate.desktop.name
|
||||
onAccepted: {
|
||||
onEditingFinished: {
|
||||
delegate.desktop.name = text;
|
||||
label.stopEditing();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue