Commit 5dfbca91 authored by yoann's avatar yoann
Browse files

* browse subtitles: do nothing if the user clicked on Cancel

parent d17161c5
......@@ -156,6 +156,7 @@ void FileOpenPanel::browseFileSub()
QStringList files = THEDP->showSimpleOpen( qtr("Open subtitles file"),
EXT_FILTER_SUBTITLE,
dialogBox->directory().absolutePath() );
if( files.isEmpty() ) return;
ui.subInput->setEditText( files.join(" ") );
updateMRL();
}
......
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