Skip to content

Commit

Permalink
Use InputList value for the selected index in the case if variable
Browse files Browse the repository at this point in the history
refrerence is not set
  • Loading branch information
martonmiklos authored and ad3154 committed Dec 10, 2024
1 parent 17dbbda commit fadf0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataMaskRenderAreaComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void DataMaskRenderAreaComponent::mouseUp(const MouseEvent &event)
auto combo = inputListModal->getComboBoxComponent("Input List Combo");
auto comboPopup = combo->getRootMenu();

auto selectedIndex = -1;
auto selectedIndex = clickedList->get_value();

if (clickedList->get_variable_reference() != isobus::NULL_OBJECT_ID)
{
Expand Down

0 comments on commit fadf0c6

Please sign in to comment.