removed mispositioned save
This commit is contained in:
parent
87e45f3bf0
commit
847409b426
@ -99,10 +99,11 @@ public class SelectTrackState extends AbstractAppState implements SelectFileList
|
||||
settings.setAudioFile(null);
|
||||
if (returnVal == JFileChooser.APPROVE_OPTION) {
|
||||
String parentDictionary = jFileChooser.getSelectedFile().getParent();
|
||||
if (parentDictionary != null && !parentDictionary.isEmpty()) {
|
||||
optionSettings.setFileSelectFolder(parentDictionary);
|
||||
optionSettings.save();
|
||||
}
|
||||
//TODO need to be fixed
|
||||
// if (parentDictionary != null && !parentDictionary.isEmpty()) {
|
||||
// optionSettings.setFileSelectFolder(parentDictionary);
|
||||
// optionSettings.save();
|
||||
// }
|
||||
File file = jFileChooser.getSelectedFile();
|
||||
settings.setVideoFile(file.getPath());
|
||||
readMetadata(settings.getVideoFile());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user