Skip to content

Commit

Permalink
Fix loading bug caused by last fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanbb committed Oct 29, 2018
1 parent fd15f58 commit be36a0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/CrossingDetector/CrossingDetectorEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1132,12 +1132,12 @@ void CrossingDetectorEditor::updateChannelThreshBox()
if (channelThreshBoxEmpty && channelThreshButton->getToggleState())
{
// default to constant threshold
constantThreshButton->setToggleState(true, sendNotificationAsync);
constantThreshButton->setToggleState(true, sendNotificationSync);
}
else if (!channelThreshBoxEmpty)
{
// default to first entry
channelThreshBox->setSelectedItemIndex(0, sendNotificationAsync);
channelThreshBox->setSelectedItemIndex(0, sendNotificationSync);
}
}

Expand Down

0 comments on commit be36a0f

Please sign in to comment.