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 db9523e commit 6385bcfCopy full SHA for 6385bcf
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