Fixed eventual clipboard issues, which was not possible before as the ClipboardHelper wasn't in the plugin project.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2144 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-10-14 17:48:57 +00:00
commit d75b81479c
3 changed files with 4 additions and 8 deletions

View file

@ -163,10 +163,10 @@ namespace GreenshotImgurPlugin {
try {
if (config.UsePageLink) {
uploadURL = imgurInfo.Page;
Clipboard.SetText(imgurInfo.Page);
ClipboardHelper.SetClipboardData(imgurInfo.Page);
} else {
uploadURL = imgurInfo.Original;
Clipboard.SetText(imgurInfo.Original);
ClipboardHelper.SetClipboardData(imgurInfo.Original);
}
} catch (Exception ex) {
LOG.Error("Can't write to clipboard: ", ex);