Remove action from menu when hide
This commit is contained in:
committed by
craig.p.drummond
parent
3700ff736f
commit
e3eca2e9fb
@@ -1099,8 +1099,7 @@ void ItemView::setSearchCategory(const QString &id)
|
||||
|
||||
void ItemView::hideBackAction()
|
||||
{
|
||||
backAction->setEnabled(false);
|
||||
backAction->setVisible(false);
|
||||
listView->removeAction(backAction);
|
||||
}
|
||||
|
||||
bool ItemView::eventFilter(QObject *o, QEvent *e)
|
||||
|
||||
Reference in New Issue
Block a user