Browse Source

Clarify initial/default state

Signed-off-by: falkTX <falktx@falktx.com>
pull/375/head
parent
commit
b3c75c9a2a
2 changed files with 2 additions and 2 deletions
  1. +2
    -1
      distrho/DistrhoPlugin.hpp
  2. +0
    -1
      examples/FileHandling/FileHandlingPlugin.cpp

+ 2
- 1
distrho/DistrhoPlugin.hpp View File

@@ -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;



+ 0
- 1
examples/FileHandling/FileHandlingPlugin.cpp View File

@@ -146,7 +146,6 @@ protected:
}

state.hints = kStateIsFilenamePath;
state.defaultValue = "";
}

/* --------------------------------------------------------------------------------------------------------


Loading…
Cancel
Save