diff --git a/src/gui/entry/EditEntryWidget.cpp b/src/gui/entry/EditEntryWidget.cpp index 00d510cfc..5ad612cfc 100644 --- a/src/gui/entry/EditEntryWidget.cpp +++ b/src/gui/entry/EditEntryWidget.cpp @@ -98,6 +98,11 @@ void EditEntryWidget::setupMain() m_mainUi->expirePresets->setMenu(createPresetsMenu()); connect(m_mainUi->expirePresets->menu(), SIGNAL(triggered(QAction*)), this, SLOT(useExpiryPreset(QAction*))); + QAction *action = new QAction(this); + action->setShortcut(Qt::CTRL | Qt::Key_Return); + connect(action, SIGNAL(triggered()), this, SLOT(saveEntry())); + this->addAction(action); + m_mainUi->passwordGenerator->hide(); m_mainUi->passwordGenerator->reset(); }