Subscribe to deactivate workbook event
This commit is contained in:
parent
843f73fec8
commit
bb33840185
@ -10,6 +10,7 @@ internal static class EventsUtil
|
||||
RhSolutionsAddIn.Excel.SheetSelectionChange += RefreshExportButton;
|
||||
RhSolutionsAddIn.Excel.SheetActivate += RefreshButtons;
|
||||
RhSolutionsAddIn.Excel.WorkbookActivate += RefreshButtons;
|
||||
RhSolutionsAddIn.Excel.WorkbookDeactivate += RefreshButtons;
|
||||
RhSolutionsAddIn.Configuration.OnSettingsChange += RefreshSettingTitle;
|
||||
}
|
||||
|
||||
@ -18,6 +19,7 @@ internal static class EventsUtil
|
||||
RhSolutionsAddIn.Excel.SheetSelectionChange -= RefreshExportButton;
|
||||
RhSolutionsAddIn.Excel.SheetActivate -= RefreshButtons;
|
||||
RhSolutionsAddIn.Excel.WorkbookActivate -= RefreshButtons;
|
||||
RhSolutionsAddIn.Excel.WorkbookDeactivate -= RefreshButtons;
|
||||
RhSolutionsAddIn.Configuration.OnSettingsChange -= RefreshSettingTitle;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user