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 |
* |
* |
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 |
} |
} |