Set focus back to image view after leaving edit tool

Authored by muhlenpfordt on Mar 27 2018, 9:00 AM.

Description

Set focus back to image view after leaving edit tool

Summary:
If you click on the toolbar of an image edit tool (crop, redeye)
the focus is lost after leaving the tool and you cannot switch images
with cursor keys.
This patch resets the focus to image view after leaving the edit tool.

BUG: 321091

Test Plan:

  • Open image in Gwenview View Mode (normal or fullscreen)
  • Start crop tool (+C)
  • Click on Crop or Cancel
  • Switching images with cursor keys should work as usual

Reviewers: Gwenview, rkflx

Reviewed By: Gwenview, rkflx

Subscribers: rkflx, huoni

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

Details

Committed
muhlenpfordtApr 4 2018, 6:33 AM
Reviewer
Gwenview
Differential Revision
D11899: Set focus back to image view after leaving edit tool
Parents
R260:f46bd3a3e37a: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown