Merge pull request #436 from MihaelaStoica/CA-167309

CA-167309: When clipboard sharing is turned off in the options, should not be possible to copy-and-paste from the guest to the XenCenter machine
This commit is contained in:
Gabor Apati-Nagy 2015-04-22 09:55:07 +01:00
commit f40c7b86e6

View File

@ -581,6 +581,8 @@ namespace XenAdmin.ConsoleView
}
else
{
if (!RedirectingClipboard())
return;
Program.Invoke(this, delegate()
{
if (Clipboard.ContainsText() && Clipboard.GetText() == text)