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

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7.0 Beta
    • Fix Version/s: 5.7.0 RC
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Environment:
      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

            • Assignee:
              mitch_curtis Mitch Curtis
              Reporter:
              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