From 847409b426bd0ad5aabf17eb7d571238d53533a6 Mon Sep 17 00:00:00 2001 From: DarthAffe Date: Tue, 11 Feb 2014 21:17:53 +0100 Subject: [PATCH] removed mispositioned save --- .../org/wyrez/shootingstars/states/SelectTrackState.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ShootingStars/src/org/wyrez/shootingstars/states/SelectTrackState.java b/ShootingStars/src/org/wyrez/shootingstars/states/SelectTrackState.java index f75563e..ad2a560 100644 --- a/ShootingStars/src/org/wyrez/shootingstars/states/SelectTrackState.java +++ b/ShootingStars/src/org/wyrez/shootingstars/states/SelectTrackState.java @@ -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());