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.
2 parents fea38e7 + a4b12b7 commit 8b15e45Copy full SHA for 8b15e45
Source/tests/BasicTests.cpp
@@ -487,7 +487,8 @@ namespace ParameterHelpers
487
const int numSteps = parameter.getNumSteps();
488
const bool isDiscrete = parameter.isDiscrete();
489
const bool isBoolean = parameter.isBoolean();
490
- const juce::StringArray allValueStrings = parameter.getAllValueStrings();
+ const juce::StringArray allValueStrings = parameter.isDiscrete() ? parameter.getAllValueStrings() : juce::StringArray();
491
+
492
493
const bool isOrientationInverted = parameter.isOrientationInverted();
494
const bool isAutomatable = parameter.isAutomatable();
0 commit comments