Skip to content

Commit

Permalink
editdialog: accept shortcut for CTRL+Enter
Browse files Browse the repository at this point in the history
  • Loading branch information
rp- committed Jun 19, 2014
1 parent 2136813 commit 682561f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/EditDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ EditDialog::EditDialog(QWidget* parent)
ui(new Ui::EditDialog)
{
ui->setupUi(this);
ui->buttonBox->button(QDialogButtonBox::Ok)->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Return));

QHBoxLayout* hexLayout = new QHBoxLayout(ui->editorBinary);
hexEdit = new QHexEdit(this);
Expand Down

0 comments on commit 682561f

Please sign in to comment.