diff options
author | Serghei Cebotari <51533848+schebotar@users.noreply.github.com> | 2022-02-14 11:09:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 11:09:22 +0300 |
commit | 031ea7f7ef0c690d93bb7e653e59c7dac6964dbb (patch) | |
tree | 34bb5c7808434a8dad116a052274c271b92f560c /src/AddIn/EventsUtil.cs | |
parent | 14aa7249fb6ada16416689f013e1f014727bc83a (diff) | |
parent | f190e27948255303c73a6b457ad1c3af1c88dba9 (diff) |
Merge pull request #17 from schebotar/dev
Dev
Diffstat (limited to 'src/AddIn/EventsUtil.cs')
-rw-r--r-- | src/AddIn/EventsUtil.cs | 6 |
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"); } } } |