Commit 862dc9b51b4527952e42d2f5cfc456af3c9a6dfd

Authored by lsagona
1 parent 6b2760a458
Exists in master and in 1 other branch dev

rename an element of the menu

Showing 2 changed files with 4 additions and 4 deletions Side-by-side Diff

src/main/kotlin/application/controller/MenuBarController.kt View file @ 862dc9b
... ... @@ -33,7 +33,7 @@
33 33 var heatMap: CheckMenuItem = CheckMenuItem()
34 34  
35 35 @FXML
36   - var activateReplayButton: RadioMenuItem = RadioMenuItem()
  36 + var activateTimeSliderButton: RadioMenuItem = RadioMenuItem()
37 37  
38 38 override fun initialize(location: URL?, resources: ResourceBundle?) {
39 39  
... ... @@ -51,8 +51,8 @@
51 51 }
52 52  
53 53 private fun setOnActionActivateReplayButton() {
54   - activateReplayButton.onAction = EventHandler {
55   - observableIsReplayState.value = activateReplayButton.isSelected
  54 + activateTimeSliderButton.onAction = EventHandler {
  55 + observableIsReplayState.value = activateTimeSliderButton.isSelected
56 56 }
57 57 }
58 58  
src/main/resources/gui/menuBar.fxml View file @ 862dc9b
... ... @@ -18,7 +18,7 @@
18 18 <CheckMenuItem fx:id="heatMap" mnemonicParsing="false" text="Heat map" />
19 19 </items>
20 20 </Menu>
21   - <RadioMenuItem fx:id="activateReplayButton" mnemonicParsing="false" text="Unspecified Action" />
  21 + <RadioMenuItem fx:id="activateTimeSliderButton" mnemonicParsing="false" text="Time Slider" />
22 22 </items>
23 23 </Menu>
24 24 <Menu mnemonicParsing="false" text="Help">