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

Diff of /jsampler/trunk/src/org/jsampler/view/InstrumentsDbTableModel.java

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

revision 1351 by iliev, Fri Aug 10 19:55:03 2007 UTC revision 1352 by iliev, Sun Sep 16 23:24:15 2007 UTC
# Line 44  import org.linuxsampler.lscp.event.Instr Line 44  import org.linuxsampler.lscp.event.Instr
44  import org.linuxsampler.lscp.event.InstrumentsDbListener;  import org.linuxsampler.lscp.event.InstrumentsDbListener;
45    
46  import static org.jsampler.JSI18n.i18n;  import static org.jsampler.JSI18n.i18n;
47    import static org.linuxsampler.lscp.Parser.*;
48    
49  /**  /**
50   *   *
# Line 684  public class InstrumentsDbTableModel ext Line 685  public class InstrumentsDbTableModel ext
685                          d = d.substring(dir.getDirectoryPath().length(), d.length());                          d = d.substring(dir.getDirectoryPath().length(), d.length());
686                          if(d.length() == 0) return;                          if(d.length() == 0) return;
687                          if(d.charAt(0) == '/') d = d.substring(1, d.length());                          if(d.charAt(0) == '/') d = d.substring(1, d.length());
688                          int row = getDirectoryRowIndex(d);                          int row = getDirectoryRowIndex(toNonEscapedFileName(d));
689                          if(row == -1) return;                          if(row == -1) return;
690                          fireTableRowsUpdated(row, row);                          fireTableRowsUpdated(row, row);
691                  }                  }

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

  ViewVC Help
Powered by ViewVC