Browse Source

Add initial state to VCV Notes.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
beef5be7b2
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/core/Notes.cpp

+ 5
- 0
src/core/Notes.cpp View File

@@ -9,6 +9,11 @@ struct NotesModule : Module {
std::string text;
bool dirty = false;

void onReset() override {
text = "";
dirty = true;
}

/** Legacy for <=v1 patches */
void fromJson(json_t* rootJ) override {
Module::fromJson(rootJ);


Loading…
Cancel
Save