Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-53274

QQuickMenu does not add menu item signal handlers when adding item via addItem()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.0 RC
    • 5.7.0 Beta
    • Quick: Controls 2
    • None
    • Windows 10

    Description

      When manually adding menu items via addItem() the pressed, triggered and activeFocusChanged signal handlers are not added. Which means the menu does not close when the menu item is selected.

      These handlers are only added when menu items are assigned via the contentData property.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mitch_curtis Mitch Curtis
            rupert_d Rupert Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes