Fix "keyframes file not found" error always occurring on subs file load, when no keyframes file was used.

Originally committed to SVN as r1603.
This commit is contained in:
Niels Martin Hansen 2007-10-18 02:26:14 +00:00
parent 509732b0c2
commit c306eef796

View file

@ -884,7 +884,9 @@ void FrameMain::SynchronizeProject(bool fromSubs) {
}
// Keyframes
KeyFrameFile::Load(curSubsKeyframes);
if (curSubsKeyframes != _T("")) {
KeyFrameFile::Load(curSubsKeyframes);
}
// Audio
if (curSubsAudio != audioBox->audioName) {