diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp
index c8ed0e96a6cd17d5be59057dcca8b1cfdc4261e1..dcab48b1e284bdc3d715d24cc348e5669a00c1c2 100644
--- a/src/plugins/debugger/debuggeractions.cpp
+++ b/src/plugins/debugger/debuggeractions.cpp
@@ -239,6 +239,7 @@ DebuggerSettings *DebuggerSettings::instance()
     item->setText(tr("Dereference Pointers Automatically"));
     item->setCheckable(true);
     item->setDefaultValue(true);
+    item->setSettingsKey(debugModeGroup, QLatin1String("AutoDerefPointers"));
     item->setToolTip(tr("This switches the Locals&Watchers view to "
         "automatically dereference pointers. This saves a level in the "
         "tree view, but also loses data for the now-missing intermediate "