Skip to content

Commit

Permalink
fix: fixed bug with not updating base from selection window
Browse files Browse the repository at this point in the history
  • Loading branch information
klonyyy committed Dec 12, 2024
1 parent 7012fec commit 95e379c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Gui/GuiVariablesEdit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,10 @@ class VariableEditWindow
std::string base = "";

if (!selectionBase.empty())
{
base = *selectionBase.begin();
shouldUpdate = true;
}
else if (fractional.baseVariable != nullptr)
base = fractional.baseVariable->getName();
else
Expand Down

0 comments on commit 95e379c

Please sign in to comment.