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

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

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

revision 1351 by iliev, Thu Sep 13 22:20:38 2007 UTC revision 1352 by iliev, Sun Sep 16 23:24:15 2007 UTC
# Line 561  public class InstrumentsDbTreeModel impl Line 561  public class InstrumentsDbTreeModel impl
561                                  return;                                  return;
562                          }                          }
563                                                    
564                          node.getInfo().setName(e.getNewName());                          node.setName(e.getNewName());
565                          DbDirectoryTreeNode parent = node.getParent();                          DbDirectoryTreeNode parent = node.getParent();
566                                                    
567                          int i = parent.getIndex(node);                          int i = parent.getIndex(node);
# Line 646  public class InstrumentsDbTreeModel impl Line 646  public class InstrumentsDbTreeModel impl
646                          String instr = getFileName(e.getPathName());                          String instr = getFileName(e.getPathName());
647                          if(instr == null) return;                          if(instr == null) return;
648                                                    
649                          DbInstrumentInfo info = node.getInstrument(instr);                          DbInstrumentInfo info = node.getInstrument(toNonEscapedFileName(instr));
650                                                    
651                          if(info == null) {                          if(info == null) {
652                                  // If the instrument is renamed by this frontend the                                  // If the instrument is renamed by this frontend the

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

  ViewVC Help
Powered by ViewVC