Skip to content

Commit

Permalink
Implement pfn#342
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallimathias committed Feb 28, 2018
1 parent 3c57b20 commit 9cbfe25
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions KeePassHttp/Handlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,13 @@ bool filter(PwEntry e)
{
f.Icon = win.Icon;
f.Plugin = this;
f.Entries = (from e in items where filter(e.Entry) select e.Entry).ToList();
f.Entries = items.Where(e => filter(e.Entry)).Select(e => e.Entry).ToList();
//f.Entries = needPrompting.ToList();
f.StartPosition = win.Visible ? FormStartPosition.CenterParent : FormStartPosition.CenterScreen;
f.Host = submithost ?? host;
f.Load += delegate { f.Activate(); };
f.Load += (s, e) => f.Activate();
f.ShowDialog(win);

if (f.Remember && (f.Allowed || f.Denied))
{
foreach (var e in needPrompting)
Expand Down

0 comments on commit 9cbfe25

Please sign in to comment.