diff --git a/Source/UI/AnalogIOInterface.cpp b/Source/UI/AnalogIOInterface.cpp index bfd5805..a5d7b43 100644 --- a/Source/UI/AnalogIOInterface.cpp +++ b/Source/UI/AnalogIOInterface.cpp @@ -67,6 +67,7 @@ AnalogIOInterface::AnalogIOInterface(std::shared_ptr d, OnixSourceEdit channelDirectionComboBoxes[i]->setTooltip("Sets the direction of Channel " + std::to_string(i)); channelDirectionComboBoxes[i]->addItemList(directionList, 1); channelDirectionComboBoxes[i]->setSelectedId(1, dontSendNotification); + channelDirectionComboBoxes[i]->setItemEnabled(2, false); addAndMakeVisible(channelDirectionComboBoxes[i].get()); prevComboBoxRectangle = channelDirectionComboBoxes[i]->getBounds();