Commit fee78837 authored by Harry van Haaren's avatar Harry van Haaren

-Fixed bug in using name from audio.cfg

parent ab74e944
......@@ -88,6 +88,7 @@ std::string ClipSelector::clipName(int clip)
void ClipSelector::clipName(int clip, std::string name)
{
clips[clip].setName( name );
redraw();
}
void ClipSelector::setSpecial(int scene)
......
......@@ -269,7 +269,9 @@ int DiskReader::loadSample( int track, int scene, string path )
ab->setBeats( beats->valuedouble );
}
if ( name )
gui->getTrack(track)->getClipSelector()->clipName( scene, name->valuestring );
{
ab->setName( name->valuestring );
}
}
// if we don't find the beats from audio.cfg, show dialog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment