This commit is contained in:
parent
4bc66a8a5e
commit
e3b6e6109e
|
@ -194,7 +194,12 @@ namespace SparkleShare {
|
||||||
|
|
||||||
public override void CopyToClipboard (string text)
|
public override void CopyToClipboard (string text)
|
||||||
{
|
{
|
||||||
Clipboard.SetData (DataFormats.Text, text);
|
try {
|
||||||
|
Clipboard.SetData (DataFormats.Text, text);
|
||||||
|
|
||||||
|
} catch (COMException e) {
|
||||||
|
SparkleLogger.LogInfo ("Controller", "Copy to clipboard failed", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue