Skip to content
Snippets Groups Projects
Commit 3b4a1f6e authored by jsiegle's avatar jsiegle
Browse files

Ensure changing directory name creates a new data folder

parent 7eeea9fe
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment