Git: Fix handling of Enter key on LogChangeDialog

Broken in 7e59415f

Change-Id: Ibbcd784965d101207ef873b1ba4d6d45e865c8b9
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2014-05-22 23:54:41 +03:00
committed by Orgad Shaneh
parent 8cc909a84c
commit a3da1dfce5

View File

@@ -230,7 +230,7 @@ LogChangeDialog::LogChangeDialog(bool isReset, QWidget *parent) :
connect(m_dialogButtonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(m_dialogButtonBox, SIGNAL(rejected()), this, SLOT(reject()));
connect(m_widget, SIGNAL(doubleClicked(QModelIndex)), okButton, SLOT(animateClick()));
connect(m_widget, SIGNAL(activated(QModelIndex)), okButton, SLOT(animateClick()));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
resize(600, 400);