diff options
author | Andy Shaw <andy.shaw@qt.io> | 2017-06-23 09:08:19 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2017-07-03 09:42:13 +0000 |
commit | 3e8ebea95b634c7ded9ee0b884768155e9e7f686 (patch) | |
tree | c945e7bfe0c43a63ef0a3ca92a970ae8795c15eb /doc | |
parent | 9b91784987831561c713aa1a57ac21ec49818d74 (diff) |
Cocoa: Reset the target + action for a menuitem after showing a dialog
To make it more reliable and efficient we now do the reverse of what we
are doing when redirecting the items. This will ensure that the actions
are correctly reset to the original target and action. The original
approach of updateMenubarImmediately() was not always doing this and it
also does other unnecessary things as a result when all we need is to
just reset the things we changed.
Change-Id: Icefa38d47ec9434894f05caeed75fbf8bdfecb93
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions