mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-16 00:15:01 -04:00
fixed a NullPointerException
This commit is contained in:
parent
789c496be4
commit
68ff8c506a
@ -169,6 +169,7 @@ public class CircuitComponent extends JComponent {
|
||||
* @param drawables the list of drawables
|
||||
*/
|
||||
public void addHighLighted(Collection<? extends Drawable> drawables) {
|
||||
if (drawables != null)
|
||||
highLighted.addAll(drawables);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user