Skip to content

Commit 66a1fe5

Browse files
committed
Don't hide status loggers when SoftLock is active
1 parent fde3e5e commit 66a1fe5

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

src/OptionsForm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public OptionsForm()
3030
tabQuickUnlock.Text = PluginTranslate.OptionsQUSettings;
3131
lQUMode.Text = PluginTranslate.OptionsQUMode;
3232
lQUPINLength.Text = PluginTranslate.OptionsQUPINLength;
33-
tbModeExplain.Lines = PluginTranslate.OptionsQUReqInfoDB.Split(new string[] { "\r\n", "\r", "\n" }, StringSplitOptions.None); ;
33+
tbModeExplain.Lines = PluginTranslate.OptionsQUReqInfoDB.Split(new string[] { "\r\n", "\r", "\n" }, StringSplitOptions.None);
3434
cbPINDBSpecific.Text = PluginTranslate.OptionsQUSettingsPerDB;
3535
cbPINMode.Items.Clear();
3636
cbPINMode.Items.AddRange(new string[] { PluginTranslate.OptionsQUModeEntry, PluginTranslate.OptionsQUModeDatabasePW });

src/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
3333
// indem Sie "*" wie unten gezeigt eingeben:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("3.2.1")]
36-
[assembly: AssemblyFileVersion("3.2.1")]
35+
[assembly: AssemblyVersion("3.2.2")]
36+
[assembly: AssemblyFileVersion("3.2.2")]

src/SoftLock.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ private void Init(QuickUnlock qu)
7676
private void OnWindowAdded(object sender, GwmWindowEventArgs e)
7777
{
7878
if (!m_SoftLocked) return;
79-
if (LockAssistConfig.SL_ExcludeForms.Contains(e.Form.GetType().FullName.Replace("KeePass.Forms.", ""))) return;
79+
string sFormname = e.Form.GetType().FullName;
80+
if (e.Form is KeePassLib.Interfaces.IStatusLogger && sFormname.StartsWith("KeePass.Forms.")) return; //don't hide status dialogs
81+
if (LockAssistConfig.SL_ExcludeForms.Contains(sFormname.Replace("KeePass.Forms.", ""))) return;
8082

8183
PluginDebug.AddInfo("Softlocked new window", e.Form.GetType().ToString());
8284
m_dHiddenForms.Add(e.Form, new SLFormProperties(e.Form.Opacity));

version.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:
2-
LockAssist:3.2.1
2+
LockAssist:3.2.2
33
LockAssist!de:5
44
LockAssist!pt:4
55
:

0 commit comments

Comments
 (0)