added save again to select track state
This commit is contained in:
parent
5c7072fae5
commit
2c7e7d61d8
@ -99,11 +99,10 @@ public class SelectTrackState extends AbstractAppState implements SelectFileList
|
||||
settings.setAudioFile(null);
|
||||
if (returnVal == JFileChooser.APPROVE_OPTION) {
|
||||
String parentDictionary = jFileChooser.getSelectedFile().getParent();
|
||||
//TODO need to be fixed
|
||||
// if (parentDictionary != null && !parentDictionary.isEmpty()) {
|
||||
// optionSettings.setFileSelectFolder(parentDictionary);
|
||||
// optionSettings.save();
|
||||
// }
|
||||
|
||||
if (parentDictionary != null && !parentDictionary.isEmpty()) {
|
||||
optionSettings.setFileSelectFolder(parentDictionary);
|
||||
}
|
||||
File file = jFileChooser.getSelectedFile();
|
||||
settings.setVideoFile(file.getPath());
|
||||
readMetadata(settings.getVideoFile());
|
||||
@ -115,6 +114,7 @@ public class SelectTrackState extends AbstractAppState implements SelectFileList
|
||||
case 2:
|
||||
if (wasFullscreen) {
|
||||
optionSettings.setFullscreen(true);
|
||||
optionSettings.save();
|
||||
shootingStars.setSettings(optionSettings.getAppSettings());
|
||||
shootingStars.restart();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user