/[svn]/jsampler/trunk/src/org/jsampler/view/std/JSAddDbInstrumentsFromFileDlg.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/std/JSAddDbInstrumentsFromFileDlg.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1351 by iliev, Tue Aug 28 17:00:19 2007 UTC revision 1352 by iliev, Sun Sep 16 23:24:15 2007 UTC
# Line 58  import org.jsampler.JSPrefs; Line 58  import org.jsampler.JSPrefs;
58  import org.jsampler.task.InstrumentsDb;  import org.jsampler.task.InstrumentsDb;
59    
60  import static org.jsampler.view.std.StdI18n.i18n;  import static org.jsampler.view.std.StdI18n.i18n;
61    import static org.linuxsampler.lscp.Parser.*;
62    
63  /**  /**
64   *   *
# Line 241  public class JSAddDbInstrumentsFromFileD Line 242  public class JSAddDbInstrumentsFromFileD
242                  int result = fc.showOpenDialog(this);                  int result = fc.showOpenDialog(this);
243                  if(result != JFileChooser.APPROVE_OPTION) return;                  if(result != JFileChooser.APPROVE_OPTION) return;
244                                    
245                  cbSource.setSelectedItem(fc.getSelectedFile().getPath());                  String s = toEscapedString(fc.getSelectedFile().getPath());
246                    cbSource.setSelectedItem(s);
247                  path = fc.getCurrentDirectory().getAbsolutePath();                  path = fc.getCurrentDirectory().getAbsolutePath();
248                  preferences().setStringProperty("lastInstrumentLocation", path);                  preferences().setStringProperty("lastInstrumentLocation", path);
249          }          }

Legend:
Removed from v.1351  
changed lines
  Added in v.1352

  ViewVC Help
Powered by ViewVC