mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-06-06 09:41:17 -04:00
v0.4:
GoldLeaf v0.5 support added Pay attention! All previous GoldLeaf versions are incompatible with this application
This commit is contained in:
parent
4b2402f801
commit
20e4197e45
4 changed files with 73 additions and 48 deletions
src/main/java/nsusbloader/Controllers
|
@ -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")){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue