mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-17 08:55:05 -04:00
Now its possible to order LEDs
This commit is contained in:
parent
d5b4c4c6d9
commit
43dbcc4be7
@ -363,7 +363,9 @@ public class Main extends JFrame implements ClosingWindowListener.ConfirmSave, E
|
||||
ToolTipAction orderOutputs = new ToolTipAction(Lang.get("menu_orderOutputs")) {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
ElementOrder o = new ElementOrder(circuitComponent.getCircuit(), Out.DESCRIPTION);
|
||||
ElementOrder o = new ElementOrder(circuitComponent.getCircuit(),
|
||||
element -> element.equalsDescription(Out.DESCRIPTION)
|
||||
|| element.equalsDescription(Out.LEDDESCRIPTION));
|
||||
new ElementOrderer<>(Main.this, Lang.get("menu_orderOutputs"), o).showDialog();
|
||||
}
|
||||
}.setToolTip(Lang.get("menu_orderOutputs_tt"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user