diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp index 3d6993bfe6e..779c60772f5 100644 --- a/src/plugins/coreplugin/editormanager/editormanager.cpp +++ b/src/plugins/coreplugin/editormanager/editormanager.cpp @@ -737,6 +737,7 @@ static void assignAction(QAction *self, QAction *other) self->setIcon(other->icon()); self->setShortcut(other->shortcut()); self->setEnabled(other->isEnabled()); + self->setIconVisibleInMenu(other->isIconVisibleInMenu()); } void EditorManager::addSaveAndCloseEditorActions(QMenu *contextMenu, const QModelIndex &editorIndex)