Skip to content

Commit 1056ef8

Browse files
committed
Use correct source code handlers in AddComponentService
1 parent ed9914a commit 1056ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.VBEEditor/Utility/AddComponentService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void AddComponent(IComponentSourceCodeHandler sourceCodeHandler, string p
4242

4343
if (code != null)
4444
{
45-
_codePaneSourceCodeHandler.SubstituteCode(newComponent, code);
45+
sourceCodeHandler.SubstituteCode(newComponent, code);
4646
}
4747

4848
if (prefixInModule != null)

0 commit comments

Comments
 (0)