Fix downloadFromURL bug. Closes #5844

This commit is contained in:
Yez Ezey 2016-10-20 19:53:23 +09:00
parent 07f141af2e
commit 42929e7783

View file

@ -96,9 +96,9 @@ class downloadFromURL : public QDialog, private Ui::downloadFromURL{
QMessageBox::warning(0, tr("No URL entered"), tr("Please type at least one URL.")); QMessageBox::warning(0, tr("No URL entered"), tr("Please type at least one URL."));
return; return;
} }
close();
emit urlsReadyToBeDownloaded(url_list_cleaned); emit urlsReadyToBeDownloaded(url_list_cleaned);
qDebug("Emitted urlsReadytobedownloaded signal"); qDebug("Emitted urlsReadytobedownloaded signal");
close();
} }
void on_cancelButton_clicked() { void on_cancelButton_clicked() {