Skip to content

Commit

Permalink
Fix splitview bug
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Feb 15, 2025
1 parent ad6c47a commit 3b14b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/TabComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Canvas* TabComponent::openPatch(pd::Patch::Ptr existingPatch, bool const warnIfA
if (warnIfAlreadyOpen)
pd->logError("Patch is already open");
editor->getTopLevelComponent()->toFront(true);
editor->getTabComponent().showTab(cnv);
editor->getTabComponent().showTab(cnv, cnv->patch.splitViewIndex);
return cnv;
}
}
Expand Down

0 comments on commit 3b14b03

Please sign in to comment.