mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
Fixed undisposed wrapper in secondary contacts
This commit is contained in:
parent
06e90bed30
commit
a76c2f06e5
@ -126,8 +126,9 @@ namespace Acacia.Features.SecondaryContacts
|
||||
// Update the icon.
|
||||
using (IExplorer explorer = ThisAddIn.Instance.GetActiveExplorer())
|
||||
using (ICommandBars cmdBars = explorer.GetCommandBars())
|
||||
using (IPicture icon = cmdBars.GetMso("ShowContactPage").GetPicture(new Size(16, 16)))
|
||||
{
|
||||
folder.SetCustomIcon(cmdBars.GetMso("ShowContactPage").GetPicture(new Size(16, 16)));
|
||||
folder.SetCustomIcon(icon);
|
||||
}
|
||||
|
||||
// Patch the name
|
||||
|
Loading…
Reference in New Issue
Block a user