aboutsummaryrefslogtreecommitdiff
path: root/src/AddIn/EventsUtil.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/AddIn/EventsUtil.cs')
-rw-r--r--src/AddIn/EventsUtil.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AddIn/EventsUtil.cs b/src/AddIn/EventsUtil.cs
index 102e12e..c10a69a 100644
--- a/src/AddIn/EventsUtil.cs
+++ b/src/AddIn/EventsUtil.cs
@@ -4,7 +4,7 @@ namespace RehauSku
{
internal static class EventsUtil
{
- private static Application Excel = AddIn.Excel;
+ private static readonly Application Excel = AddIn.Excel;
public static void Initialize()
{
@@ -22,12 +22,12 @@ namespace RehauSku
private static void RefreshConvertButton(object sh)
{
- Interface.RibbonController.RefreshControl("convertPrice");
+ Interface.RibbonController.RefreshControl("convert");
}
private static void RefreshExportButton(object sh, Range target)
{
- Interface.RibbonController.RefreshControl("exportToPrice");
+ Interface.RibbonController.RefreshControl("export");
}
}
}