Commit ecb25dac authored by Timur Pocheptsov's avatar Timur Pocheptsov
Browse files

QCocoaMenu: return YES if we have a shortcut for a pseudo-first responder


When running a modal session with NSOpenPanel (QFileDialog), our menu delegate
should not touch qApp->focusObject, since it's not what actually has focus
inside NSOpenPanel (will be some native view). Return YES instead.

Task-number: QTBUG-17291
Change-Id: I94f3281237fb25495d317b02310bf9d77b21d2ba
Reviewed-by: default avatarShawn Rutledge <shawn.rutledge@digia.com>
parent 53d289ec
Branches
Tags
Showing with 22 additions and 12 deletions
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