Skip to content

Commit

Permalink
Rubberduck
Browse files Browse the repository at this point in the history
  • Loading branch information
IvenBach committed Nov 23, 2017
1 parent 2fe14f6 commit 43b095d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions RetailCoder.VBE/App.cs
Expand Up @@ -120,7 +120,7 @@ public void Startup()
_hooks.HookHotkeys(); // need to hook hotkeys before we localize menus, to correctly display ShortcutTexts
_appMenus.Localize();

if (_config.UserSettings.GeneralSettings.CheckVersion)
if (_config.UserSettings.GeneralSettings.CanCheckVersion)
{
_checkVersionCommand.Execute(null);
}
Expand Down Expand Up @@ -165,7 +165,7 @@ private void CheckForLegacyIndenterSettings()
try
{
Logger.Trace("Checking for legacy Smart Indenter settings.");
if (_config.UserSettings.GeneralSettings.SmartIndenterPrompted ||
if (_config.UserSettings.GeneralSettings.IsSmartIndenterPrompted ||
!_config.UserSettings.IndenterSettings.LegacySettingsExist())
{
return;
Expand All @@ -177,7 +177,7 @@ private void CheckForLegacyIndenterSettings()
Logger.Trace("Attempting to load legacy Smart Indenter settings.");
_config.UserSettings.IndenterSettings.LoadLegacyFromRegistry();
}
_config.UserSettings.GeneralSettings.SmartIndenterPrompted = true;
_config.UserSettings.GeneralSettings.IsSmartIndenterPrompted = true;
_configService.SaveConfiguration(_config);
}
catch
Expand Down
2 changes: 1 addition & 1 deletion RetailCoder.VBE/Extension.cs
Expand Up @@ -170,7 +170,7 @@ private void InitializeAddIn()
}

Splash splash = null;
if (_initialSettings.ShowSplash)
if (_initialSettings.CanShowSplash)
{
splash = new Splash
{
Expand Down

0 comments on commit 43b095d

Please sign in to comment.