forked from qt-creator/qt-creator
Move some actions to a "View" menu
A "View" menu seems to be what many users are looking for when they want to show or hide panes/views, so move corresponding actions there. Window management / split actions stay in the "Window" menu. Fixes: QTCREATORBUG-23610 Change-Id: Id683addc681de99abb35697a735fdbc9dc0d00cd Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -313,7 +313,7 @@ void FormEditorData::addDockViewAction(ActionContainer *viewMenu,
|
||||
void FormEditorData::setupViewActions()
|
||||
{
|
||||
// Populate "View" menu of form editor menu
|
||||
ActionContainer *viewMenu = ActionManager::actionContainer(Core::Constants::M_WINDOW_VIEWS);
|
||||
ActionContainer *viewMenu = ActionManager::actionContainer(Core::Constants::M_VIEW_VIEWS);
|
||||
QTC_ASSERT(viewMenu, return);
|
||||
|
||||
addDockViewAction(viewMenu, WidgetBoxSubWindow, m_contexts,
|
||||
|
||||
Reference in New Issue
Block a user