-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't rebuild entry list after changing OTP settings. Has no effect if working within a regular group. Preserves the list of entries if working in a virtual group like search results, "show entries in subgroups", ...
- Loading branch information
1 parent
d1bbc00
commit b9f5404
Showing
6 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
namespace PluginTools | ||
{ | ||
public static partial class Tools | ||
{ | ||
public static bool PreserveEntriesShown | ||
{ | ||
get { return KeePass.Program.Config.CustomConfig.GetBool("Rookiestyle.PreserveEntriesShown", true); } | ||
set { KeePass.Program.Config.CustomConfig.SetBool("Rookiestyle.PreserveEntriesShown", value); } | ||
} | ||
|
||
public static void RefreshEntriesList(bool bSetModified) | ||
{ | ||
UpdateUIAndRefreshEntriesList(false, null, false, null, false, null, bSetModified); | ||
} | ||
|
||
public static void UpdateUIAndRefreshEntriesList(bool bRecreateTabBar, KeePass.UI.PwDocument dsSelect, | ||
bool bUpdateGroupList, KeePassLib.PwGroup pgSelect, bool bUpdateEntryList, | ||
KeePassLib.PwGroup pgEntrySource, bool bSetModified) | ||
{ | ||
//Update entries that are currently shown | ||
if (PreserveEntriesShown && !bUpdateEntryList && !bUpdateEntryList) | ||
{ | ||
KeePass.Program.MainForm.RefreshEntriesList(); | ||
//bUpdateGroupList = false; | ||
//bUpdateEntryList = false; | ||
} | ||
|
||
//Update UI to update all other parts of the UI | ||
KeePass.Program.MainForm.UpdateUI(bRecreateTabBar, dsSelect, | ||
bUpdateGroupList, bUpdateGroupList ? pgSelect : null, | ||
bUpdateEntryList, bUpdateEntryList ? pgEntrySource : null, bSetModified); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
: | ||
KeePassOTP:0.20.2 | ||
KeePassOTP:0.21 | ||
KeePassOTP!de:11 | ||
KeePassOTP!fr:3 | ||
: |