mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
FileView panel refreshing after single file submitted fixed
This commit is contained in:
@@ -156,8 +156,12 @@ public class VcsContextWrapper implements VcsContext {
|
||||
ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(project);
|
||||
if (toolWindowManager == null) return null;
|
||||
ToolWindowEx fileViewToolWindow =(ToolWindowEx) toolWindowManager.getToolWindow(ProjectLevelVcsManager.FILE_VIEW_TOOL_WINDOW_ID);
|
||||
final JComponent component = fileViewToolWindow.getComponent();
|
||||
return ((FileViewPanel) component);
|
||||
if (fileViewToolWindow.isAvailable()) {
|
||||
final JComponent component = fileViewToolWindow.getComponent();
|
||||
return ((FileViewPanel) component);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public FilePath[] getSelectedFilePaths() {
|
||||
|
||||
Reference in New Issue
Block a user