forked from qt-creator/qt-creator
Add views menu for form editor.
This commit is contained in:
@@ -359,7 +359,6 @@ Command *ActionManagerPrivate::registerOverridableAction(QAction *action, const
|
||||
baseAction->setSeparator(action->isSeparator());
|
||||
baseAction->setShortcutContext(Qt::ApplicationShortcut);
|
||||
baseAction->setEnabled(false);
|
||||
baseAction->setObjectName(id);
|
||||
baseAction->setParent(m_mainWnd);
|
||||
#ifdef Q_WS_MAC
|
||||
baseAction->setIconVisibleInMenu(false);
|
||||
|
||||
@@ -495,6 +495,7 @@ void OverrideableAction::actionChanged()
|
||||
m_action->setWhatsThis(m_currentAction->whatsThis());
|
||||
}
|
||||
|
||||
m_action->setCheckable(m_currentAction->isCheckable());
|
||||
bool block = m_action->blockSignals(true);
|
||||
m_action->setChecked(m_currentAction->isChecked());
|
||||
m_action->blockSignals(block);
|
||||
|
||||
Reference in New Issue
Block a user