void (@NotNull LightweightWindowEvent event) { if (event.isOk()) { List<FilePath> selectedPaths = ContainerUtil.map(popupBuilder.getSelectedValues(), path -> text2Path(path)); if (selectedPaths.isEmpty()) { myFilterModel.setFilter(null); } else { setStructureFilter(VcsLogFilterObject.fromPaths(selectedPaths)); } } }