mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
vcs: fix initial diff selection for deleted files in UpdateInfo
* we don't need valid VirtualFile go get file path
This commit is contained in:
@@ -180,7 +180,7 @@ public class UpdateInfoTree extends PanelWithActionsAndCloseButton implements Di
|
||||
if (treeNode instanceof FileTreeNode) {
|
||||
pointer = ((FileTreeNode)treeNode).getFilePointer();
|
||||
}
|
||||
if (pointer != null && pointer.isValid()) {
|
||||
if (pointer != null) {
|
||||
mySelectedUrl = pointer.getUrl();
|
||||
mySelectedFile = pointer.getFile();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user