| 148 | } |
| 149 | |
| 150 | void CompoundParameter::setPresets( const PresetsContainer &presets ) |
| 151 | { |
| 152 | if (m_adoptChildPresets) |
| 153 | { |
| 154 | throw Exception( "CompoundParameter cannot override presets when initialized with adoptChildPresets to true."); |
| 155 | } |
| 156 | Parameter::setPresets(presets); |
| 157 | } |
| 158 | |
| 159 | bool CompoundParameter::presetsOnly() const |
| 160 | { |