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

QAction::setVisible() has no effect for side widget actions of QLineEdit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.5.1
    • 5.3.0
    • None
    • Mac OS X 10.9
    • 4dccb2ca674e9eafca65da0775254932102c7f4b (qtbase/5.5, 20.8.2015, 5.5.1)

      After adding an action with the new Qt 5 addAction overload:

      lineEdit->addAction(myAction, QLineEdit::TrailingPosition);

      the action cannot be removed using removeAction(myAction)

      Another glitch I found is that the action cannot be hidden with myAction->setVisible(false); It is "greyed out" but not hidden.

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

            kleint Friedemann Kleint
            flaviotordini Flavio Tordini
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes