We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c57b20 commit 9cbfe25Copy full SHA for 9cbfe25
KeePassHttp/Handlers.cs
@@ -305,11 +305,13 @@ bool filter(PwEntry e)
305
{
306
f.Icon = win.Icon;
307
f.Plugin = this;
308
- 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();
309
//f.Entries = needPrompting.ToList();
310
+ f.StartPosition = win.Visible ? FormStartPosition.CenterParent : FormStartPosition.CenterScreen;
311
f.Host = submithost ?? host;
- f.Load += delegate { f.Activate(); };
312
+ f.Load += (s, e) => f.Activate();
313
f.ShowDialog(win);
314
+
315
if (f.Remember && (f.Allowed || f.Denied))
316
317
foreach (var e in needPrompting)
0 commit comments