diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp
index c64d93f0600f7236cdc1b3219c57407243bd0706..ccd876d7cf734163aa74a39ca55baa5ce1c356c8 100644
--- a/src/plugins/git/gitplugin.cpp
+++ b/src/plugins/git/gitplugin.cpp
@@ -188,7 +188,8 @@ ParameterActionCommandPair
                                          bool addToLocator)
 {
     Utils::ParameterAction *action = new Utils::ParameterAction(defaultText, parameterText,
-                                                                Utils::ParameterAction::EnabledWithParameter);
+                                                                Utils::ParameterAction::EnabledWithParameter,
+                                                                this);
     Core::Command *command = am->registerAction(action, id, context);
     command->setAttribute(Core::Command::CA_UpdateText);
     ac->addAction(command);