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);
|
settings.setAudioFile(null);
|
||||||
if (returnVal == JFileChooser.APPROVE_OPTION) {
|
if (returnVal == JFileChooser.APPROVE_OPTION) {
|
||||||
String parentDictionary = jFileChooser.getSelectedFile().getParent();
|
String parentDictionary = jFileChooser.getSelectedFile().getParent();
|
||||||
if (parentDictionary != null && !parentDictionary.isEmpty()) {
|
//TODO need to be fixed
|
||||||
optionSettings.setFileSelectFolder(parentDictionary);
|
// if (parentDictionary != null && !parentDictionary.isEmpty()) {
|
||||||
optionSettings.save();
|
// optionSettings.setFileSelectFolder(parentDictionary);
|
||||||
}
|
// optionSettings.save();
|
||||||
|
// }
|
||||||
File file = jFileChooser.getSelectedFile();
|
File file = jFileChooser.getSelectedFile();
|
||||||
settings.setVideoFile(file.getPath());
|
settings.setVideoFile(file.getPath());
|
||||||
readMetadata(settings.getVideoFile());
|
readMetadata(settings.getVideoFile());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user