Skip to content

Commit bd6c90e

Browse files
committed
Setting Arduino icon for serial monitor window.
http://code.google.com/p/arduino/issues/detail?id=564
1 parent 0020105 commit bd6c90e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/processing/app/Editor.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,10 @@ public void windowDeactivated(WindowEvent e) {
196196
//PdeKeywords keywords = new PdeKeywords();
197197
//sketchbook = new Sketchbook(this);
198198

199-
if (serialMonitor == null)
199+
if (serialMonitor == null) {
200200
serialMonitor = new SerialMonitor(Preferences.get("serial.port"));
201+
serialMonitor.setIconImage(getIconImage());
202+
}
201203

202204
buildMenuBar();
203205

0 commit comments

Comments
 (0)