void () { super.init(); ChangesTree changesTree = getFileList(); if (changesTree instanceof AsyncChangesTree asyncChangesTree) { setOKActionEnabled(false); asyncChangesTree.invokeAfterRefresh(() -> { setOKActionEnabled(true); }); } }