forked from qt-creator/qt-creator
VCS: Add accelerators to context menu entry in editors
Change-Id: I57b89670999d1f4857dcbdf94d8dc1f480e337c1 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
cf8d601b1d
commit
94cf79f895
@@ -345,7 +345,7 @@ void ChangeTextCursorHandler::slotCopyRevision()
|
||||
|
||||
QAction *ChangeTextCursorHandler::createDescribeAction(const QString &change) const
|
||||
{
|
||||
auto a = new QAction(VcsBaseEditorWidget::tr("Describe Change %1").arg(change), 0);
|
||||
auto a = new QAction(VcsBaseEditorWidget::tr("&Describe Change %1").arg(change), 0);
|
||||
connect(a, &QAction::triggered, this, &ChangeTextCursorHandler::slotDescribe);
|
||||
return a;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user