mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Fixed another error in string comparison
This commit is contained in:
parent
5c097c03c5
commit
0def10443f
@ -92,7 +92,7 @@ public class EditorLineStatus extends JComponent {
|
||||
|
||||
public void paintComponent(Graphics graphics) {
|
||||
Graphics2D g = Theme.setupGraphics2D(graphics);
|
||||
if (name == "" && serialport == "") {
|
||||
if (name.isEmpty() && serialport.isEmpty()) {
|
||||
PreferencesMap boardPreferences = BaseNoGui.getBoardPreferences();
|
||||
if (boardPreferences != null)
|
||||
setBoardName(boardPreferences.get("name"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user