Remove comment
This commit is contained in:
parent
baef41d902
commit
baf8a8ae1e
|
@ -362,21 +362,6 @@ public class ModelMenuContributor {
|
|||
|
||||
private void startStopAction(List<Model> selection, boolean start) {
|
||||
if (start) {
|
||||
// boolean selectSource = Config.getInstance().getSettings().chooseStreamQuality;
|
||||
// if (selectSource) {
|
||||
// for (Model model : selection) {
|
||||
// Consumer<Model> onSuccess = modl -> startRecording(List.of(modl));
|
||||
// Consumer<Throwable> onFail = throwable -> {
|
||||
// Alert alert = new AutosizeAlert(Alert.AlertType.ERROR, source.getScene());
|
||||
// alert.setTitle(ERROR);
|
||||
// alert.setHeaderText(COULDNT_START_STOP_RECORDING);
|
||||
// alert.setContentText("I/O error while starting/stopping the recording: " + throwable.getLocalizedMessage());
|
||||
// alert.showAndWait();
|
||||
// };
|
||||
// StreamSourceSelectionDialog.show(source.getScene(), model, onSuccess, onFail);
|
||||
// }
|
||||
// } else {
|
||||
// }
|
||||
startRecording(selection);
|
||||
} else {
|
||||
stopRecording(selection);
|
||||
|
|
Loading…
Reference in New Issue