Commit 94ffafc4 authored by Méven Car's avatar Méven Car
Browse files

Project git: add icon for refresh action in the menu

parent cb864812
......@@ -797,11 +797,13 @@ bool GitWidget::eventFilter(QObject *o, QEvent *e)
void GitWidget::buildMenu()
m_gitMenu = new QMenu(this);
m_gitMenu->addAction(i18n("Refresh"), this, [this] {
auto r = m_gitMenu->addAction(i18n("Refresh"), this, [this] {
if (m_project) {
auto a = m_gitMenu->addAction(i18n("Checkout Branch"), this, [this] {
BranchCheckoutDialog bd(m_mainWin->window(), m_pluginView, m_project->baseDir());
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