Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fb80c74

Browse files
authoredDec 18, 2024··
Merge pull request #44 from FlexConfirmMail/avoid-custom-ui-error
Avoid custom UI error
2 parents 2acbd49 + 1c5a70b commit fb80c74

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎Ribbon.cs

+6-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,12 @@ public string Ribbon_LoadLabel(Office.IRibbonControl Control)
4343
#region IRibbonExtensibility のメンバー
4444

4545
public string GetCustomUI(string ribbonID)
46-
{
47-
return GetResourceText("FlexConfirmMail.Ribbon.xml");
46+
{
47+
if (ribbonID == "Microsoft.Outlook.Explorer")
48+
{
49+
return GetResourceText("FlexConfirmMail.Ribbon.xml");
50+
}
51+
return "";
4852
}
4953

5054
#endregion

0 commit comments

Comments
 (0)
Please sign in to comment.