feat(ui): add exit action to sort method selection
This commit is contained in:
@@ -23,6 +23,8 @@ public class SortMethodSelectionWindow extends BaseModalWindow {
|
|||||||
|
|
||||||
menu.addItem("Сортировка по чётности", () -> selectSortMethod(SortMethod.PARITY));
|
menu.addItem("Сортировка по чётности", () -> selectSortMethod(SortMethod.PARITY));
|
||||||
|
|
||||||
|
menu.addItem("Выйти", this::close);
|
||||||
|
|
||||||
setComponent(menu);
|
setComponent(menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user