We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
setCurrentTabIndex
1 parent 5958b69 commit b3c1ba6Copy full SHA for b3c1ba6
1 file changed
Source/UI/DataViewport.cpp
@@ -56,6 +56,7 @@ int DataViewport::addTabToDataViewport(String name,
56
addTab(name, Colours::lightgrey, component, false, tabIndex);
57
58
getTabbedButtonBar().setTabBackgroundColour(tabIndex, Colours::darkgrey);
59
+ getTabbedButtonBar().setCurrentTabIndex(tabIndex);
60
61
setOutline(0);
62
0 commit comments