forked from qt-creator/qt-creator
Core: allow pinning documents from the editor toolbar
This is now inline with the context menu of the open documents view in the open documents view in the side bar. Change-Id: I026f94e0296d0704382bb49790226608503ef94f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -383,6 +383,8 @@ void EditorView::fillListContextMenu(QMenu *menu) const
|
||||
: nullptr;
|
||||
EditorManager::addSaveAndCloseEditorActions(menu, entry, editor);
|
||||
menu->addSeparator();
|
||||
EditorManager::addPinEditorActions(menu, entry);
|
||||
menu->addSeparator();
|
||||
EditorManager::addNativeDirAndOpenWithActions(menu, entry);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user