Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion KPEntryTemplates/EntryTemplateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public static PwEntry show_parent_template_chooser(IPluginHost m_host) {
var entry_list = new List<object>();
foreach (var entry in entries) {
var lvi = new ListViewItem(entry.Strings.ReadSafe(PwDefs.TitleField),
entry.CustomIconUuid == PwUuid.Zero ? (int)entry.IconId : m_host.Database.GetCustomIconIndex(entry.CustomIconUuid));
entry.CustomIconUuid == PwUuid.Zero ? (int)entry.IconId : ((int)PwIcon.Count + m_host.Database.GetCustomIconIndex(entry.CustomIconUuid)));
lvi.Tag = entry;
entry_list.Add(lvi);
}
Expand Down