Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Reorganize popup, add sensors
  • Loading branch information
bobjacobsen committed Mar 23, 2025
commit 7e8abbf2c7ed013790d81cc2faa5b8d16b0d8b4c
6 changes: 3 additions & 3 deletions src/org/openlcb/swing/EventIdTextField.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ public void actionPerformed(ActionEvent e) {
}
});

// create a submenu for well-known events
popup.add(makeWellKnownEventMenu(textfield));

return popup;
}

Expand Down Expand Up @@ -178,9 +181,6 @@ public static JMenu makeWellKnownEventMenu(JTextComponent textfield) {
// wkeMenu.add("Extended DCC accessory decoder events ...");
// wkeMenu.add("DCC turnout feedback events ...");

// create a submenu for well-known events
wkeMenu.add(makeWellKnownEventMenu(textfield));

return wkeMenu;
}

Expand Down