mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 01:29:17 +01:00
get 'modified' indicator working on document windows again (fixes #2194)
This commit is contained in:
@@ -749,7 +749,8 @@ public class Sketch {
|
||||
if (Base.isMacOS()) {
|
||||
// http://developer.apple.com/qa/qa2001/qa1146.html
|
||||
Object modifiedParam = modified ? Boolean.TRUE : Boolean.FALSE;
|
||||
editor.getRootPane().putClientProperty("windowModified", modifiedParam);
|
||||
// https://developer.apple.com/library/mac/technotes/tn2007/tn2196.html#WINDOW_DOCUMENTMODIFIED
|
||||
editor.getRootPane().putClientProperty("Window.documentModified", modifiedParam);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
2
todo.txt
2
todo.txt
@@ -37,6 +37,8 @@ o check on why 2x core.jar inside the Java folder
|
||||
o maybe OS X Java can't look in subfolders? (just auto-adds things)
|
||||
o https://github.com/processing/processing/issues/2344
|
||||
X one is used by the PDE, the other is used as a library
|
||||
X get 'modified' indicator working on document windows again
|
||||
X https://github.com/processing/processing/issues/2194
|
||||
_ changing the mode on an untitled, unmodified sketch removes untitled status
|
||||
_ when renaming a tab, include the previous name to be edited
|
||||
|
||||
|
||||
Reference in New Issue
Block a user