Skip to content

Commit ec4fc08

Browse files
authored
Merge pull request #45 from FlexConfirmMail/avoid-custom-ui-error-for-master
Avoid custom UI error
2 parents df8f536 + 5ae6ef6 commit ec4fc08

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)