|
@@ -149,7 +149,7 @@ class System {
|
|
|
|
|
|
public static function setClipboardText(text:String) : Bool {
|
|
public static function setClipboardText(text:String) : Bool {
|
|
#if (hide && editor)
|
|
#if (hide && editor)
|
|
- nw.Clipboard.get().set(text, Text);
|
|
|
|
|
|
+ nw.Clipboard.get().set({ data: text, type: nw.Clipboard.ClipboardType.Text });
|
|
return true;
|
|
return true;
|
|
#end
|
|
#end
|
|
return false;
|
|
return false;
|