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

[REG] Mac: Submenu setEnable has no effect

XMLWordPrintable

    • macOS
    • 9b491616f8353be243c5e5e98c864d09a25b99ea

      If setEnabled(false) is called on sub menu it has no effect, item remain clickable. if it is called on any other individual menu item it works.

      It can be easily reproduced with menu example by adding one line
      formatMenu = editMenu->addMenu(tr("&Format"));
      formatMenu->setEnabled(false);
      Attached two screenshots shows 5.6.1 not working but earlier 5.6.0 working.
      Bisecting pointed to this commit which seems introduced this
      https://codereview.qt-project.org/#/c/149727/

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

            dedietri Gabriel de Dietrich (drgvond)
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes