Skip to content

Commit a04219f

Browse files
committed
Adds AddPredeclaredClassModule to the ViewModel
1 parent dd41026 commit a04219f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Rubberduck.Core/Navigation/CodeExplorer/CodeExplorerViewModel.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ public CodeExplorerViewModel(
7878
AddClassModuleCommand = commands.OfType<AddClassModuleCommand>().SingleOrDefault();
7979
AddUserFormCommand = commands.OfType<AddUserFormCommand>().SingleOrDefault();
8080

81+
AddPredeclaredClassModuleCommand = commands.OfType<AddPredeclaredClassModuleCommand>().SingleOrDefault();
82+
8183
OpenProjectPropertiesCommand = commands.OfType<OpenProjectPropertiesCommand>().SingleOrDefault();
8284
RenameCommand = commands.OfType<RenameCommand>().SingleOrDefault();
8385
IndenterCommand = commands.OfType<IndentCommand>().SingleOrDefault();
@@ -517,6 +519,8 @@ private void SwitchNodeState(CodeExplorerItemViewModel node, bool expandedState)
517519
public CommandBase AddClassModuleCommand { get; }
518520
public CommandBase AddUserFormCommand { get; }
519521

522+
public CommandBase AddPredeclaredClassModuleCommand { get; }
523+
520524
public CommandBase OpenDesignerCommand { get; }
521525
public CommandBase OpenProjectPropertiesCommand { get; }
522526

0 commit comments

Comments
 (0)