mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-28 09:24:14 +01:00
OSX: attempting to draw a black dot in the upper left red button. Fixes #3816
This commit is contained in:
parent
71c81e30a7
commit
befd7d42be
@ -525,6 +525,7 @@ public class Sketch {
|
||||
// http://developer.apple.com/qa/qa2001/qa1146.html
|
||||
Object modifiedParam = modified ? Boolean.TRUE : Boolean.FALSE;
|
||||
editor.getRootPane().putClientProperty("windowModified", modifiedParam);
|
||||
editor.getRootPane().putClientProperty("Window.documentModified", modifiedParam);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user