Skip to content

Commit 682561f

Browse files
committed
editdialog: accept shortcut for CTRL+Enter
1 parent 2136813 commit 682561f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/EditDialog.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ EditDialog::EditDialog(QWidget* parent)
1313
ui(new Ui::EditDialog)
1414
{
1515
ui->setupUi(this);
16+
ui->buttonBox->button(QDialogButtonBox::Ok)->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Return));
1617

1718
QHBoxLayout* hexLayout = new QHBoxLayout(ui->editorBinary);
1819
hexEdit = new QHexEdit(this);

0 commit comments

Comments
 (0)