Don't use legacy icon for action delete

This commit is contained in:
Bjarne Fyrstenborg
2022-10-01 21:10:17 +02:00
committed by Michael Latouche
parent d6a1b69ead
commit aa9a7e415e

View File

@@ -143,7 +143,7 @@ public class TemplatesTreeController : TreeController, ISearchableTree
if (template.IsMasterTemplate == false)
{
//add delete option if it doesn't have children
menu.Items.Add<ActionDelete>(LocalizedTextService, hasSeparator: true, opensDialog: true);
menu.Items.Add<ActionDelete>(LocalizedTextService, hasSeparator: true, opensDialog: true, useLegacyIcon: false);
}
//add refresh