Skip to content

Commit e916401

Browse files
committed
Fix a Ninject error after changing a parameter type.
1 parent cc40f48 commit e916401

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

RetailCoder.VBE/Root/RubberduckModule.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@
1515
using Rubberduck.Navigation.CodeExplorer;
1616
using Rubberduck.Parsing;
1717
using Rubberduck.Parsing.VBA;
18+
using Rubberduck.Refactorings.Rename;
1819
using Rubberduck.Settings;
1920
using Rubberduck.SmartIndenter;
2021
using Rubberduck.SourceControl;
2122
using Rubberduck.UI;
2223
using Rubberduck.UI.CodeExplorer;
24+
using Rubberduck.UI.CodeExplorer.Commands;
2325
using Rubberduck.UI.CodeInspections;
2426
using Rubberduck.UI.Command;
2527
using Rubberduck.UI.Command.MenuItems;
2628
using Rubberduck.UI.Command.MenuItems.ParentMenus;
2729
using Rubberduck.UI.Command.Refactorings;
2830
using Rubberduck.UI.Controls;
31+
using Rubberduck.UI.Refactorings;
2932
using Rubberduck.UI.SourceControl;
3033
using Rubberduck.UI.ToDoItems;
3134
using Rubberduck.UI.UnitTesting;
@@ -81,6 +84,8 @@ public override void Load()
8184

8285
BindCommandsToMenuItems();
8386
BindCommandsToCodeExplorer();
87+
88+
Bind<IRenameView>().To<RenameDialog>().WhenInjectedInto<CodeExplorer_RenameCommand>();
8489

8590
Rebind<IIndenter>().To<Indenter>().InSingletonScope();
8691
Rebind<IIndenterSettings>().To<IndenterSettings>();

0 commit comments

Comments
 (0)