diff options
author | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2017-08-10 10:30:56 +0700 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2017-08-15 01:21:44 +0000 |
commit | 306071e50eac8290d234caab90985ddf705a5fc6 (patch) | |
tree | 1a7cc7228fcf86414d08bcf170c85d13b8dc9619 /src/widgets/kernel | |
parent | f27d1ccbb24ec2fd4098f2976503478831006cc8 (diff) |
QCocoaMenu: Sync menubar menu when adding items
Empty menus on a menubar are hidden by default. If the menu gets
added to the menubar before it contains any item, we need to get
the menubar to sync the menu, which will update its native menu
item hidden property.
Menurama manual test's 'Add Many Items' button should now work.
Change-Id: I8ce1df21031c171789318fdf28ae495819458d71
Task-number: QTBUG-62260
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/kernel')
0 files changed, 0 insertions, 0 deletions