mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-19 01:44:44 -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")) {
|
ToolTipAction orderOutputs = new ToolTipAction(Lang.get("menu_orderOutputs")) {
|
||||||
@Override
|
@Override
|
||||||
public void actionPerformed(ActionEvent e) {
|
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();
|
new ElementOrderer<>(Main.this, Lang.get("menu_orderOutputs"), o).showDialog();
|
||||||
}
|
}
|
||||||
}.setToolTip(Lang.get("menu_orderOutputs_tt"));
|
}.setToolTip(Lang.get("menu_orderOutputs_tt"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user