Update selection after renaming a file

Authored by muhlenpfordt on Dec 6 2017, 6:07 PM.

Description

Update selection after renaming a file

Summary:
After a file is renamed, update selection in ContextManager to reference new filename.
Without this patch the window title is not updated after rename an a reload with F5 fails.

BUG: 249001

Test Plan:

  1. Open a picture in Gwenview (single image view mode)
  2. Press F2 and rename the picture -> window title should be updated to new name
  3. Press F5 to reload picture -> image should still be viewed

Reviewers: ngraham, rkflx

Reviewed By: ngraham, rkflx

Differential Revision: https://phabricator.kde.org/D9161

Details

Committed
rkflxDec 6 2017, 6:15 PM
Reviewer
ngraham
Differential Revision
D9161: Update selection after renaming a file
Parents
R260:97769bef3b80: appdata: update doc URL, more https
Branches
Unknown
Tags
Unknown
References
tag: v17.12.0