rename method

This commit is contained in:
Armin Schrenk
2025-02-14 10:51:48 +01:00
parent 4f6e091c13
commit f429f2d3e7
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ public class EventViewController implements FxController {
}
@FXML
void emptyEventList() {
void clearEventList() {
eventList.clear();
}

View File

@@ -16,7 +16,7 @@
>
<HBox styleClass="button-bar">
<Region HBox.hgrow="ALWAYS"/>
<Button text="Clear" styleClass="button-right" onAction="#emptyEventList" />
<Button text="Clear" styleClass="button-right" onAction="#clearEventList" />
</HBox>
<ListView fx:id="eventListView" fixedCellSize="60"/>
</VBox>