mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-14 04:24:29 +00:00
fixed: one other reference to _stateUID
This commit is contained in:
1 parent
8dd888bcbd
commit
bbc2f4766e
1 file changed
+3
-2
@@ -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