Skip to content
Snippets Groups Projects
Commit 3dc4f9a1 authored by Ananya Bahadur's avatar Ananya Bahadur
Browse files

addTab will not only use text arg but also set tabText

parent 39792012
No related branches found
No related tags found
No related merge requests found
......@@ -337,6 +337,7 @@ void VisualizerEditor::removeTab(int tindex)
int VisualizerEditor::addTab(String tab_text, Visualizer* vis_canvas)
{
tabText = tab_text;
tabIndex = AccessClass::getDataViewport()->addTabToDataViewport(tab_text, vis_canvas, this);
return tabIndex;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment