Skip to content

Commit dd99848

Browse files
committedFeb 27, 2025
Fix splitview bug when opening subpatches
1 parent f284422 commit dd99848

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎Source/Objects/ObjectBase.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,6 @@ void ObjectBase::openSubpatch()
426426
path = File(String::fromUTF8(canvas_getdir(glist)->s_name)).getChildFile(String::fromUTF8(glist->gl_name->s_name)).withFileExtension("pd");
427427
}
428428

429-
cnv->editor->getTabComponent().setActiveSplit(cnv);
430-
subpatch->splitViewIndex = cnv->patch.splitViewIndex;
431429
cnv->editor->getTabComponent().openPatch(subpatch);
432430

433431
if (path.getFullPathName().isNotEmpty()) {

0 commit comments

Comments
 (0)