mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
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:
parent
69d29992a2
commit
d75b81479c
3 changed files with 4 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue