Skip to content
Snippets Groups Projects
Commit 63b6f16c authored by Aaron Cuevas Lopez's avatar Aaron Cuevas Lopez
Browse files

Merge branch 'master' of github.com:open-ephys/GUI

parents b9896e11 31a6a2e1
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,8 @@ bool FileReader::setFile(String fullpath)
}
static_cast<FileReaderEditor*>(getEditor())->populateRecordings(input);
setActiveRecording(0);
return true;
}
void FileReader::setActiveRecording(int index)
......
......@@ -156,9 +156,11 @@ void FileReaderEditor::comboBoxChanged(ComboBox* combo)
void FileReaderEditor::populateRecordings(FileSource* source)
{
recordSelector->clear(dontSendNotification);
for (int i=0; i < source->getNumRecords(); i++)
{
//sendActionMessage("Got file " + source->getRecordName(i));
recordSelector->addItem(source->getRecordName(i),i+1);
}
recordSelector->setSelectedId(1,dontSendNotification);
......
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