mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-06-05 14:49:50 +08:00
Fix Bugs
Fix a bug when 'save as' file dialog is canceled, next download will be blocked.
This commit is contained in:
parent
77a999e22e
commit
f6542879de
@ -312,6 +312,7 @@ void MainWindow::on_downloadStart(QWebEngineDownloadItem *item)
|
||||
QString filePath = saveAs(fileName);
|
||||
if(filePath.isEmpty())
|
||||
{
|
||||
mutex.unlock();
|
||||
return;
|
||||
}
|
||||
item->setPath(filePath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user