mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diff: do not use random file name for diff editor tab
GitOrigin-RevId: 7f56d7daaa0359dfce495a83f9e937d11681893d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
944e23f7ae
commit
9527e94b83
@@ -82,7 +82,7 @@ public class DiffManagerImpl extends DiffManagerEx {
|
||||
if (Registry.is("show.diff.as.editor.tab") &&
|
||||
project != null &&
|
||||
DiffUtil.getWindowMode(hints) == WindowWrapper.Mode.FRAME) {
|
||||
ChainDiffVirtualFile diffFile = new ChainDiffVirtualFile(requests, requests.getRequests().get(0).getName());
|
||||
ChainDiffVirtualFile diffFile = new ChainDiffVirtualFile(requests, "Diff");
|
||||
FileEditorManager.getInstance(project).openFile(diffFile, true);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user