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

Impossible to change QAction text in QToolBar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.9.1, 5.9.3
    • None

    Description

      How to reproduce:

      1) create a QAction object, then add it to QToolBar of an example app (QMainWindow)

      2) try to change text dynamically with QAction::setText() via another action

       

      Result: the text of QToolBar button won't change. QMenu entry works as expected.

      What's expected: the text should change every time method executing QAction::setText() is being called

      Attachments

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

        Activity

          People

            richard Richard Moe Gustavsen
            lazyb Blaze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes