GoldLeaf v0.5 support added
Pay attention! All previous GoldLeaf versions are incompatible with this application
This commit is contained in:
Dmitry Isaenko 2019-03-28 00:05:50 +03:00
parent 90a8ee47c6
commit 933382e0ba
4 changed files with 73 additions and 48 deletions

View file

@ -91,6 +91,7 @@ public class NSLMainController implements Initializable {
tableFilesListController.setNewProtocol(choiceProtocol.getSelectionModel().getSelectedItem());
if (choiceProtocol.getSelectionModel().getSelectedItem().equals("GoldLeaf")) {
choiceNetUsb.setDisable(true);
choiceNetUsb.getSelectionModel().select("USB");
nsIpLbl.setVisible(false);
nsIpTextField.setVisible(false);
}
@ -109,6 +110,7 @@ public class NSLMainController implements Initializable {
choiceNetUsb.getSelectionModel().select(AppPreferences.getInstance().getNetUsb());
if (choiceProtocol.getSelectionModel().getSelectedItem().equals("GoldLeaf")) {
choiceNetUsb.setDisable(true);
choiceNetUsb.getSelectionModel().select("USB");
}
choiceNetUsb.setOnAction(e->{
if (choiceNetUsb.getSelectionModel().getSelectedItem().equals("NET")){