mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diff: ensure, that all init() duties are finished before first rediff()
This commit is contained in:
@@ -61,12 +61,13 @@ public abstract class DiffViewerBase implements DiffViewer, DataProvider {
|
||||
@NotNull
|
||||
public final FrameDiffTool.ToolbarComponents init() {
|
||||
onInit();
|
||||
rediff(true);
|
||||
|
||||
FrameDiffTool.ToolbarComponents components = new FrameDiffTool.ToolbarComponents();
|
||||
components.toolbarActions = createToolbarActions();
|
||||
components.popupActions = createPopupActions();
|
||||
components.statusPanel = getStatusPanel();
|
||||
|
||||
rediff(true);
|
||||
return components;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user