forked from j62/ctbrec
1
0
Fork 0

Fix add model by name suggestions

This commit is contained in:
0xboobface 2020-05-20 19:36:42 +02:00
parent 9462a31111
commit 63b2985e37
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ public class RecordedModelsTab extends Tab implements TabSelectionListener {
HBox addModelBox = new HBox(5); HBox addModelBox = new HBox(5);
modelLabel.setPadding(new Insets(5, 0, 0, 0)); modelLabel.setPadding(new Insets(5, 0, 0, 0));
ObservableList<String> suggestions = FXCollections.observableArrayList(); ObservableList<String> suggestions = FXCollections.observableArrayList();
sites.forEach(site -> suggestions.add(site.getName())); sites.forEach(site -> suggestions.add(site.getClass().getSimpleName()));
model = new AutoFillTextField(suggestions); model = new AutoFillTextField(suggestions);
model.setPrefWidth(600); model.setPrefWidth(600);
model.setPromptText("e.g. MyFreeCams:ModelName or an URL like https://chaturbate.com/modelname/"); model.setPromptText("e.g. MyFreeCams:ModelName or an URL like https://chaturbate.com/modelname/");