Added missing IDs in xml files

This commit is contained in:
2020-01-12 12:22:58 +00:00
parent 1572e163ef
commit 9fa892a6fd
2 changed files with 1 additions and 1 deletions

View File

@@ -1020,7 +1020,6 @@ public class AudiobookRecorder extends JFrame {
@SuppressWarnings("unchecked")
void treePopup(MouseEvent e) {
int selRow = bookTree.getRowForLocation(e.getX(), e.getY());
TreePath selPath = bookTree.getPathForLocation(e.getX(), e.getY());
if (selRow != -1) {

View File

@@ -46,6 +46,7 @@ public class Chapter extends DefaultMutableTreeNode {
public Chapter(Element root, DefaultTreeModel model) {
name = Book.getTextNode(root, "name");
id = root.getAttribute("id");
preGap = Utils.s2i(Book.getTextNode(root, "pre-gap"));
postGap = Utils.s2i(Book.getTextNode(root, "post-gap"));