forked from qt-creator/qt-creator
ProjectExplorer: Fix Collapse All action
The action was triggered after the focused widget was reset. Change-Id: I093d827472fa608649f98ac1339e957532965c0d Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
8d769e0949
commit
8683a62419
@@ -482,7 +482,7 @@ void ProjectTree::showContextMenu(ProjectTreeWidget *focus, const QPoint &global
|
||||
s_instance->m_focusForContextMenu = focus;
|
||||
connect(contextMenu, &QMenu::aboutToHide,
|
||||
s_instance, &ProjectTree::hideContextMenu,
|
||||
Qt::UniqueConnection);
|
||||
Qt::ConnectionType(Qt::UniqueConnection | Qt::QueuedConnection));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user