We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 552a311 commit a4b12b7Copy full SHA for a4b12b7
Source/tests/BasicTests.cpp
@@ -486,7 +486,8 @@ namespace ParameterHelpers
486
const int numSteps = parameter.getNumSteps();
487
const bool isDiscrete = parameter.isDiscrete();
488
const bool isBoolean = parameter.isBoolean();
489
- const juce::StringArray allValueStrings = parameter.getAllValueStrings();
+ const juce::StringArray allValueStrings = parameter.isDiscrete() ? parameter.getAllValueStrings() : juce::StringArray();
490
+
491
492
const bool isOrientationInverted = parameter.isOrientationInverted();
493
const bool isAutomatable = parameter.isAutomatable();
0 commit comments