[Folder View] Rename on clicking outside
ClosedPublic

Authored by broulik on Apr 5 2017, 8:54 AM.

Details

Summary

When renaming a file and clicking elsewhere, actually rename instead of canceling. This is what Dolphin and other file managers do.
When pressing Escape, closing the popup, or starting to scroll, the rename operation is cancelled as before.

BUG: 378447

Test Plan

Selected a file, pressed F2, changed its name, clicked elsewherre, file was renamed. Pressing Return also accepts the renaming.
Pressing Escape, closing the popup, or starting to scroll cancels the rename as before.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Apr 5 2017, 8:54 AM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 5 2017, 8:54 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein accepted this revision.Apr 5 2017, 10:21 AM
This revision is now accepted and ready to land.Apr 5 2017, 10:21 AM
This revision was automatically updated to reflect the committed changes.