Skip to content

Commit

Permalink
fix: when opening project an exisiting plot variables are shown
Browse files Browse the repository at this point in the history
  • Loading branch information
klonyyy committed Dec 4, 2024
1 parent 4ad8acd commit 5bbbe76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/GuiPlotsTree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class PlotsTree
}

if (!plotHandler->checkIfPlotExists(selectedPlot))
selectedPlot = plotHandler->begin().operator*()->getName();
selectedPlot = plotGroupHandler->getActiveGroup()->begin()->second.plot->getName();

ImGui::BeginChild("Plot Tree", ImVec2(-1, windowHeight));
ImGui::BeginChild("left pane", ImVec2(200 * GuiHelper::contentScale, -1), true);
Expand Down

0 comments on commit 5bbbe76

Please sign in to comment.