Propagate unused mouse press events in edit tools
Summary: If one of the edit tools `Crop` or `Red Eye Reduction` is active, zooming by {key Middle-Click} or {key Ctrl Left/Right-Click} does not work. This patch ignores mouse press events not used by the edit tools itself and thereupon they are propagated to the image view. FIXED-IN: 18.08.0 Test Plan: * Open Gwenview in View Mode * Enter `Crop` or `Red Eye Reduction` tool * Check if {key Ctrl Left/Right-Click} zoom works * Check if ({key Shift}) {key Middle-Click} zoom works * Check if crop tool ratio lock ({key Ctrl}/{key Shift}) works Reviewers: #gwenview, rkflx Reviewed By: #gwenview, rkflx Subscribers: rkflx Differential Revision: https://phabricator.kde.org/D14324
parent
08511b03
Please register or sign in to comment