Skip to content
Commit 5e9a3ea0 authored by rk flx's avatar rk flx
Browse files

Fix Enter key not working for new Close button in Red Eye Reduce tool

Summary:
When df8cb1ab was merged from stable to master, duplicating the
`QDialogButtonBox` in the {nav Reduce Red Eye} toolbar as done in
0c678376 was not taken into account, so pressing {key Enter} when
the {nav Close} button had focus for the initial `helpDialogButtonBox`
had no effect anymore.

This can be fixed by always operating on the buttons that are visible.

Test Plan:
Open the {nav Reduce Red Eye} tool and press {key Enter} on the
{nav Close}, {nav Reduce Red Eye} and {nav Cancel} buttons as well as when
none of those buttons is focused.

Reviewers: muhlenpfordt

Reviewed By: muhlenpfordt

Tags: #gwenview

Differential Revision: https://phabricator.kde.org/D15014
parent 868e438a
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