Remove undefined param

This commit is contained in:
Sebastiaan Janssen
2022-07-11 15:50:58 +02:00
parent 885ec99cc4
commit 7611ba7f73

View File

@@ -31,7 +31,6 @@ public class MenuItemList : List<MenuItem>
/// <param name="hasSeparator"></param>
/// <param name="textService">The <see cref="ILocalizedTextService" /> used to localize the action name based on its alias</param>
/// <param name="opensDialog">Whether or not this action opens a dialog</param>
/// <param name="useLegacyIcon">Whether or not this action should use legacy icon prefixed with "icon-" or full icon name is specified.</param>
public MenuItem? Add<T>(ILocalizedTextService textService, bool hasSeparator = false, bool opensDialog = false)
where T : IAction => Add<T>(textService, hasSeparator, opensDialog, useLegacyIcon: true);