Skip to content

Commit

Permalink
Changes behavior to download all entries in a group recursively.
Browse files Browse the repository at this point in the history
  • Loading branch information
navossoc committed Aug 29, 2018
1 parent 215ee39 commit 4b8d84c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Select one or more entries and click _Download Favicons_ to download the _favico

---

You can also select one group and click _Download Favicons_ to download _favicons_ for all entries on this specific group.
You can also select one group and click _Download Favicons_ to download _favicons_ for all entries in this group and its subgroups.

![Group Context Menu](docs/images/group-context-menu.gif)

Expand Down
5 changes: 2 additions & 3 deletions YAFD/YetAnotherFaviconDownloaderExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public override bool Initialize(IPluginHost host)

// Add Group Context menu items
groupSeparator = new ToolStripSeparator();
groupDownloadFaviconsItem = new ToolStripMenuItem("Download Favicons", menuImage, DownloadFaviconsGroup_Click);
groupDownloadFaviconsItem = new ToolStripMenuItem("Download Favicons (recursively)", menuImage, DownloadFaviconsGroup_Click);
pluginHost.MainWindow.GroupContextMenu.Items.Add(groupSeparator);
pluginHost.MainWindow.GroupContextMenu.Items.Add(groupDownloadFaviconsItem);

Expand Down Expand Up @@ -172,8 +172,7 @@ private void DownloadFaviconsGroup_Click(object sender, EventArgs e)
}

// Get all entries from the group
bool subEntries = KeePass.Program.Config.MainWindow.ShowEntriesOfSubGroups;
PwObjectList<PwEntry> entriesInGroup = group.GetEntries(subEntries);
PwObjectList<PwEntry> entriesInGroup = group.GetEntries(true);
if (entriesInGroup == null || entriesInGroup.UCount == 0)
{
Util.Log("No entries in group");
Expand Down
Binary file modified docs/images/group-context-menu.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4b8d84c

Please sign in to comment.