mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-14 07:04:50 -04:00
Resolve #79
This commit is contained in:
parent
50e2b739a8
commit
4cb3cbb491
5 changed files with 50 additions and 24 deletions
|
@ -25,6 +25,7 @@ import javafx.scene.control.Label;
|
|||
import javafx.scene.layout.Region;
|
||||
import javafx.stage.DirectoryChooser;
|
||||
import nsusbloader.AppPreferences;
|
||||
import nsusbloader.FilesHelper;
|
||||
import nsusbloader.MediatorControl;
|
||||
import nsusbloader.ModelControllers.CancellableRunnable;
|
||||
import nsusbloader.NSLDataTypes.EModule;
|
||||
|
@ -52,11 +53,8 @@ public class NxdtController implements Initializable {
|
|||
public void initialize(URL url, ResourceBundle resourceBundle) {
|
||||
this.rb = resourceBundle;
|
||||
|
||||
File saveToValidator = new File(AppPreferences.getInstance().getNXDTSaveToLocation());
|
||||
if (saveToValidator.exists())
|
||||
saveToLocationLbl.setText(saveToValidator.getAbsolutePath());
|
||||
else
|
||||
saveToLocationLbl.setText(System.getProperty("user.home"));
|
||||
String saveToLocation = AppPreferences.getInstance().getNXDTSaveToLocation();
|
||||
saveToLocationLbl.setText(saveToLocation);
|
||||
|
||||
btnDumpStopImage = new Region();
|
||||
btnDumpStopImage.getStyleClass().add("regionDump");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue