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

setActiveAction triggers submenus

    XMLWordPrintable

    Details

      Description

      In Qtopia, when the context menu is opened we always want the first (non-disabled) action selected by default. To do this, we use setActiveAction(). However, if the first item is a submenu, the submenu will be automatically opened by the function call. The documentation gives no indication of this: "Sets the currently highlighted action to act."

      If the behavior can't change, it would be nice if the documentation could be updated, and ideally an alternative method provided that only highlights the action (and doesn't trigger anything).

        Attachments

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

          Activity

            People

            Assignee:
            bjnilsen Bjørn Erik Nilsen
            Reporter:
            brasser Michael Brasser (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes