Permalink
Browse files

Disable changing directory name while recording

  • Loading branch information...
1 parent 3b4a1f6 commit 17a1b22db6edf4ec92b592d129344c28c84ff892 jsiegle committed Jan 27, 2014
Showing with 8 additions and 0 deletions.
  1. +8 −0 Source/UI/ControlPanel.cpp
@@ -656,6 +656,10 @@ void ControlPanel::startRecording()
playButton->setToggleState(true,false);
masterClock->startRecording(); // turn on recording
backgroundColour = Colour(255,0,0);
+
+ prependText->setEditable(false);
+ appendText->setEditable(false);
+
repaint();
}
@@ -665,6 +669,10 @@ void ControlPanel::stopRecording()
masterClock->stopRecording();
newDirectoryButton->setEnabledState(true);
backgroundColour = Colour(58,58,58);
+
+ prependText->setEditable(true);
+ appendText->setEditable(true);
+
repaint();
}

0 comments on commit 17a1b22

Please sign in to comment.