mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-03 09:23:40 +00:00
fixed: one other reference to _stateUID
This commit is contained in:
@@ -384,9 +384,10 @@ Return true if the event may be a copy and paste event, but the target is not an
|
||||
|
||||
if ([value length])
|
||||
{
|
||||
var pasteboard = [CPPasteboard generalPasteboard];
|
||||
var pasteboard = [CPPasteboard generalPasteboard],
|
||||
cappString = [pasteboard stringForType:CPStringPboardType];
|
||||
|
||||
if ([pasteboard _stateUID] != value)
|
||||
if (cappString !== value)
|
||||
{
|
||||
[pasteboard declareTypes:[CPStringPboardType] owner:self];
|
||||
[pasteboard setString:value forType:CPStringPboardType];
|
||||
|
||||
Reference in New Issue
Block a user