Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ensure changing directory name creates a new data folder

  • Loading branch information...
commit 3b4a1f6eee6636a2b676b0fb7bf27cb390f2a66f 1 parent 7eeea9f
jsiegle authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 Source/UI/ControlPanel.cpp
View
5 Source/UI/ControlPanel.cpp
@@ -434,6 +434,7 @@ ControlPanel::ControlPanel(ProcessorGraph* graph_, AudioComponent* audio_)
dateText = new Label("Date","YYYY-MM-DD_HH-MM-SS");
dateText->setColour(Label::backgroundColourId, Colours::lightgrey);
+ dateText->setColour(Label::textColourId, Colours::grey);
addChildComponent(dateText);
appendText = new Label("Append","");
@@ -643,7 +644,11 @@ void ControlPanel::openState(bool os)
void ControlPanel::labelTextChanged(Label* label)
{
+ graph->getRecordNode()->newDirectoryNeeded = true;
+ newDirectoryButton->setEnabledState(false);
+ masterClock->resetRecordTime();
+ dateText->setColour(Label::textColourId, Colours::grey);
}
void ControlPanel::startRecording()
Please sign in to comment.
Something went wrong with that request. Please try again.