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

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

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

revision 1479 by iliev, Sun Sep 16 23:24:15 2007 UTC revision 1480 by iliev, Wed Nov 14 21:39:45 2007 UTC
# Line 598  class ManualSelectWizardPage extends Use Line 598  class ManualSelectWizardPage extends Use
598                  int result = fc.showOpenDialog(this);                  int result = fc.showOpenDialog(this);
599                  if(result != JFileChooser.APPROVE_OPTION) return;                  if(result != JFileChooser.APPROVE_OPTION) return;
600                                    
601                  cbFilename.setSelectedItem(toEscapedString(fc.getSelectedFile().getPath()));                  String path = fc.getSelectedFile().getAbsolutePath();
602                  String path = fc.getCurrentDirectory().getAbsolutePath();                  if(java.io.File.separatorChar == '\\') {
603                            path.replace('\\', '/');
604                    }
605                    cbFilename.setSelectedItem(toEscapedString(path));
606                    path = fc.getCurrentDirectory().getAbsolutePath();
607                  preferences().setStringProperty("lastInstrumentLocation", path);                  preferences().setStringProperty("lastInstrumentLocation", path);
608          }          }
609                    

Legend:
Removed from v.1479  
changed lines
  Added in v.1480

  ViewVC Help
Powered by ViewVC