private void _configService_SettingsChanged(object sender, EventArgs e) { _config = _configService.LoadConfiguration(); _hooks.HookHotkeys(); // also updates the ShortcutKey text _appMenus.Localize(); UpdateLoggingLevel(); }
public void Startup() { EnsureLogFolderPathExists(); EnsureTempPathExists(); ApplyCultureConfig(); LogRubberduckStart(); UpdateLoggingLevel(); CheckForLegacyIndenterSettings(); _appMenus.Initialize(); _hooks.HookHotkeys(); // need to hook hotkeys before we localize menus, to correctly display ShortcutTexts _appMenus.Localize(); if (_config.UserSettings.GeneralSettings.CanCheckVersion) { _checkVersionCommand.Execute(null); } }
private void _configService_SettingsChanged(object sender, EventArgs e) { // also updates the ShortcutKey text _appMenus.Localize(); _hooks.HookHotkeys(); }