Update CPSearchField.j

This commit adds "Search" as placeholder by default, as Cocoa does.
This commit is contained in:
Didier Korthoudt committed 2022-04-07 11:40:32 +02:00
1 parent 4be4a65c72
commit d0d4972681
1 file changed
+2
+2
View File
@@ -104,6 +104,8 @@ var CPAutosavedRecentsChangedNotification = @"CPAutosavedRecentsChangedNotificat
_sendsWholeSearchString = NO;
_sendsSearchStringImmediately = NO;
_recentsAutosaveName = nil;
[self setPlaceholderString:@"Search"];
[self _init];
}