Commit 25085f57 authored by hjk's avatar hjk
Browse files

debugger: show "Memory..." menu entry only in debug mode

parent 84176a73
......@@ -355,7 +355,8 @@ void DebuggerUISwitcher::createViewsMenuItems()
// Add menu items
Command *cmd = 0;
cmd = am->registerAction(d->m_openMemoryEditorAction,
QLatin1String("Debugger.Views.OpenMemoryEditor"), globalcontext);
QLatin1String("Debugger.Views.OpenMemoryEditor"),
Context(Constants::C_DEBUGMODE));
d->m_viewsMenu->addAction(cmd);
cmd = am->registerAction(d->m_mainWindow->menuSeparator1(),
QLatin1String("Debugger.Views.Separator1"), globalcontext);
......
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