diff --git a/distrho/DistrhoPlugin.hpp b/distrho/DistrhoPlugin.hpp index ef7c228f..98912de6 100644 --- a/distrho/DistrhoPlugin.hpp +++ b/distrho/DistrhoPlugin.hpp @@ -688,7 +688,8 @@ struct State { String key; /** - The default value of this state. + The default value of this state.@n + Can be left empty if considered a valid initial state. */ String defaultValue; diff --git a/examples/FileHandling/FileHandlingPlugin.cpp b/examples/FileHandling/FileHandlingPlugin.cpp index 196bc13f..691a4557 100644 --- a/examples/FileHandling/FileHandlingPlugin.cpp +++ b/examples/FileHandling/FileHandlingPlugin.cpp @@ -146,7 +146,6 @@ protected: } state.hints = kStateIsFilenamePath; - state.defaultValue = ""; } /* --------------------------------------------------------------------------------------------------------