removed mispositioned save

This commit is contained in:
DarthAffe 2014-02-11 21:17:53 +01:00
parent 87e45f3bf0
commit 847409b426

View File

@ -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());