Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.2.1
-
None
-
Up-to-date Debian Testing with Qt packaged in Debian.
Description
I created a QLineEdit and adding a QAction.
When switching the QAction to invisible, it stays visible in the QLineEdit. It does not respond to clicks, but is still there. It should become invisible.
Example code:
QLineEdit *edit = new QLineEdit(this);
QAction *action = edit->addAction(QIcon("/path/to/icon"), QLineEdit::ActionPosition::LeadingPosition);
action->setVisible(false);
Attachments
Issue Links
- is replaced by
-
QTBUG-39660 QAction::setVisible() has no effect for side widget actions of QLineEdit
- Closed