From d5c23ee929501f36f33c8edf294ddc2011f7f91c Mon Sep 17 00:00:00 2001 From: rookiestyle Date: Mon, 3 Jan 2022 19:17:39 +0100 Subject: [PATCH] Bugfix: Ask to create Quick Unlock entry only if the active database is unlocked --- src/OptionsForm.cs | 2 +- src/Properties/AssemblyInfo.cs | 6 +++--- version.info | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/OptionsForm.cs b/src/OptionsForm.cs index 9eabef7..bd3b109 100644 --- a/src/OptionsForm.cs +++ b/src/OptionsForm.cs @@ -153,7 +153,7 @@ private void tbPINLength_TextChanged(object sender, EventArgs e) private void cbPINMode_SelectedIndexChanged(object sender, EventArgs e) { lQUMode.ForeColor = System.Drawing.SystemColors.ControlText; - if (cbPINMode.SelectedIndex == 0) + if (cbPINMode.SelectedIndex == 0 && Program.MainForm.ActiveDatabase != null && Program.MainForm.ActiveDatabase.IsOpen) { PwEntry check = QuickUnlock.GetQuickUnlockEntry(Program.MainForm.ActiveDatabase); if (check != null) return; diff --git a/src/Properties/AssemblyInfo.cs b/src/Properties/AssemblyInfo.cs index 29e55f9..418b64b 100644 --- a/src/Properties/AssemblyInfo.cs +++ b/src/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Rookiestyle")] [assembly: AssemblyProduct("KeePass Plugin")] -[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyCopyright("Copyright © 2021-2022")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // indem Sie "*" wie unten gezeigt eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.1.1")] -[assembly: AssemblyFileVersion("3.1.1")] +[assembly: AssemblyVersion("3.1.2")] +[assembly: AssemblyFileVersion("3.1.2")] diff --git a/version.info b/version.info index 9099a0a..d4f4383 100644 --- a/version.info +++ b/version.info @@ -1,5 +1,5 @@ : -LockAssist:3.1.1 -LockAssist!de:4 +LockAssist:3.1.2 +LockAssist!de:5 LockAssist!pt:2 :