-Fixed bug in using name from audio.cfg
parent
ab74e944a4
commit
fee7883782
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue