Selaa lähdekoodia

rename method

Armin Schrenk 4 kuukautta sitten
vanhempi
commit
f429f2d3e7

+ 1 - 1
src/main/java/org/cryptomator/ui/eventviewer/EventViewController.java

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

+ 1 - 1
src/main/resources/fxml/eventviewer.fxml

@@ -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>