Implemented BackButton functionality
This commit is contained in:
@@ -10,6 +10,7 @@ import javafx.scene.control.*;
|
||||
import javafx.scene.control.Alert.AlertType;
|
||||
|
||||
import envoy.client.data.LocalDB;
|
||||
import envoy.client.event.BackEvent;
|
||||
import envoy.client.event.SendEvent;
|
||||
import envoy.client.ui.ClearableTextField;
|
||||
import envoy.client.ui.SceneContext;
|
||||
@@ -139,12 +140,6 @@ public class ContactSearchTab {
|
||||
}
|
||||
}
|
||||
|
||||
// @FXML
|
||||
// private void newGroupButtonClicked() {
|
||||
// sceneContext.load(SceneContext.SceneInfo.GROUP_CREATION_SCENE);
|
||||
// sceneContext.<GroupCreationScene>getController().initializeData(sceneContext, localDB);
|
||||
// }
|
||||
|
||||
// @FXML
|
||||
// private void backButtonClicked() { sceneContext.pop(); }
|
||||
@FXML
|
||||
private void backButtonClicked() { eventBus.dispatch(new BackEvent()); }
|
||||
}
|
||||
|
Reference in New Issue
Block a user