diff --git a/modules/juce_data_structures/values/juce_ValueTreePropertyWithDefault.h b/modules/juce_data_structures/values/juce_ValueTreePropertyWithDefault.h index 4951486598..389df86a9f 100644 --- a/modules/juce_data_structures/values/juce_ValueTreePropertyWithDefault.h +++ b/modules/juce_data_structures/values/juce_ValueTreePropertyWithDefault.h @@ -230,6 +230,9 @@ public: /** Returns the property ID of the referenced property. */ Identifier& getPropertyID() noexcept { return targetProperty; } + /** Returns the property ID of the referenced property. */ + const Identifier& getPropertyID() const noexcept { return targetProperty; } + /** Returns the UndoManager that is being used. */ UndoManager* getUndoManager() noexcept { return undoManager; }