mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Fixes
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@709 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
65faa1f7de
commit
8cc84eaf1b
2 changed files with 5 additions and 1 deletions
|
@ -82,6 +82,10 @@ namespace GreenshotFlickrPlugin {
|
|||
flickr.PhotosSetMeta(photoId, "New Title", "New Description");
|
||||
// Get list of users sets
|
||||
PhotosetCollection sets = flickr.PhotosetsGetList();
|
||||
if (sets.Count == 0) {
|
||||
flickr.PhotosetsCreate("Greenshot", "Greenshot screenshots", photoId);
|
||||
sets = flickr.PhotosetsGetList();
|
||||
}
|
||||
// Get the first set in the collection
|
||||
Photoset set = sets[0];
|
||||
// Add the photo to that set
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue