Add Return as a keyboard shortcut to open the document for the current row
This commit is contained in:
parent
b968a54cea
commit
0d963686cc
@ -506,6 +506,7 @@ void ResTable::init()
|
||||
tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
tableView->setItemDelegate(new ResTableDelegate(this));
|
||||
tableView->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
new QShortcut(QKeySequence("Return"), this, SLOT(menuEdit()));
|
||||
new QShortcut(QKeySequence("Ctrl+o"), this, SLOT(menuEdit()));
|
||||
new QShortcut(QKeySequence("Ctrl+Shift+o"), this, SLOT(menuEditAndQuit()));
|
||||
new QShortcut(QKeySequence("Ctrl+d"), this, SLOT(menuPreview()));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user