mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 06:57:13 -06:00
ignore internal UI keys in dumps and in UI defaults inspector
This commit is contained in:
@@ -373,7 +373,7 @@ public class UIDefaultsDump
|
||||
Object value = entry.getValue();
|
||||
|
||||
String strKey = String.valueOf( key );
|
||||
if( !keyFilter.test( strKey ) )
|
||||
if( !keyFilter.test( strKey ) || strKey.startsWith( "FlatLaf.internal." ) )
|
||||
return;
|
||||
|
||||
String prefix = keyPrefix( strKey );
|
||||
|
||||
@@ -87,7 +87,7 @@ public class UIDefaultsKeysDump
|
||||
UIDefaults defaults = UIManager.getLookAndFeel().getDefaults();
|
||||
|
||||
for( Object key : defaults.keySet() ) {
|
||||
if( key instanceof String )
|
||||
if( key instanceof String && !((String)key).startsWith( "FlatLaf.internal." ) )
|
||||
keys.add( (String) key );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user