Commit fef838ee authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Gerrit: Really make Refresh the default button

Apparently setDefault must be called *after* the button is added to the

Change-Id: I8351a666509bb4e92492388f80575ccea969c754
Reviewed-by: default avatarEike Ziller <>
parent 48c2bc1e
......@@ -171,7 +171,6 @@ GerritDialog::GerritDialog(const QSharedPointer<GerritParameters> &p,
m_cherryPickButton = addActionButton(tr("Cherry &Pick"), SLOT(slotFetchCherryPick()));
m_checkoutButton = addActionButton(tr("&Checkout"), SLOT(slotFetchCheckout()));
m_refreshButton = addActionButton(tr("&Refresh"), SLOT(slotRefresh()));
connect(m_model, SIGNAL(refreshStateChanged(bool)),
m_refreshButton, SLOT(setDisabled(bool)));
......@@ -194,6 +193,7 @@ GerritDialog::GerritDialog(const QSharedPointer<GerritParameters> &p,
resize(QSize(950, 600));
QString GerritDialog::repositoryPath() const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment