Fix cancel button behaviour on waveform open dialog

This commit is contained in:
Vesa
2014-01-31 21:37:25 +02:00
parent 37ad60a704
commit cc810effda

View File

@@ -920,6 +920,10 @@ QString SampleBuffer::openAndSetWaveformFile()
if(!fileName.isEmpty())
{
this->setAudioFile( fileName );
}
else
{
m_audioFile = "";
}
return fileName;