Commit 777b08f0 authored by hjk's avatar hjk
Browse files

Debugger: Show "Automatically Hide View Title Bars" option only once



Task-number: QTCREATORBUG-15159
Change-Id: I0bd029c97a152887ad84181e551eb6a6b9bd764a
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 9fc4396e
......@@ -311,15 +311,10 @@ void DebuggerMainWindowPrivate::createViewsMenuItems()
"Debugger.Views.OpenMemoryEditor", debugcontext);
cmd->setAttribute(Command::CA_Hide);
m_viewsMenu->addAction(cmd, Core::Constants::G_DEFAULT_THREE);
cmd = ActionManager::registerAction(q->menuSeparator1(),
"Debugger.Views.Separator1", debugcontext);
cmd->setAttribute(Command::CA_Hide);
m_viewsMenu->addAction(cmd, Core::Constants::G_DEFAULT_THREE);
cmd = ActionManager::registerAction(q->autoHideTitleBarsAction(),
"Debugger.Views.AutoHideTitleBars", debugcontext);
cmd->setAttribute(Command::CA_Hide);
m_viewsMenu->addAction(cmd, Core::Constants::G_DEFAULT_THREE);
cmd = ActionManager::registerAction(q->menuSeparator2(),
"Debugger.Views.Separator2", debugcontext);
cmd->setAttribute(Command::CA_Hide);
......
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