mirror of
https://github.com/wismna/ModernKeePassLib.git
synced 2025-10-03 15:40:20 -04:00
Update Lib to version 2.44
Update nuget packages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
KeePass Password Safe - The Open-Source Password Manager
|
||||
Copyright (C) 2003-2019 Dominik Reichl <dominik.reichl@t-online.de>
|
||||
Copyright (C) 2003-2020 Dominik Reichl <dominik.reichl@t-online.de>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -234,9 +234,33 @@ namespace ModernKeePassLib
|
||||
if(strFileVersion == null) { Debug.Assert(false); return string.Empty; }
|
||||
|
||||
if(strFileVersion == "2.39") return "2.39 / 2.39.1";
|
||||
if(strFileVersion == "2.42") return "2.42 / 2.42.1";
|
||||
|
||||
return strFileVersion;
|
||||
}
|
||||
|
||||
internal static PwIcon GroupIconToEntryIcon(PwIcon i)
|
||||
{
|
||||
PwIcon r = i; // Inherit by default
|
||||
|
||||
switch(i)
|
||||
{
|
||||
case PwIcon.Folder:
|
||||
case PwIcon.FolderOpen:
|
||||
case PwIcon.FolderPackage:
|
||||
Debug.Assert((new PwEntry(false, false)).IconId == PwIcon.Key);
|
||||
r = PwIcon.Key;
|
||||
break;
|
||||
|
||||
case PwIcon.EMailBox:
|
||||
r = PwIcon.EMail;
|
||||
break;
|
||||
|
||||
default: break;
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
// #pragma warning disable 1591 // Missing XML comments warning
|
||||
|
Reference in New Issue
Block a user