From 786a9b55af063595eddd01041fb6eea9475a25de Mon Sep 17 00:00:00 2001 From: Christian Ullrich Date: Mon, 20 Nov 2017 08:46:28 +0100 Subject: [PATCH] Center access prompt on screen if KeePass main window is minimized. --- KeePassHttp/Handlers.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/KeePassHttp/Handlers.cs b/KeePassHttp/Handlers.cs index 53d8755..d45f123 100644 --- a/KeePassHttp/Handlers.cs +++ b/KeePassHttp/Handlers.cs @@ -310,6 +310,7 @@ private void GetLoginsHandler(Request r, Response resp, Aes aes) { f.Icon = win.Icon; f.Plugin = this; + f.StartPosition = win.Visible ? FormStartPosition.CenterParent : FormStartPosition.CenterScreen; f.Entries = (from e in items where filter(e.entry) select e.entry).ToList(); //f.Entries = needPrompting.ToList(); f.Host = submithost != null ? submithost : host;