Multiple File Input Icon Set Regardless of File List
[WebKit-https.git] / Source / WebCore / html / FileInputType.cpp
index 998f9ef..c324050 100644 (file)
@@ -419,7 +419,7 @@ void FileInputType::filesChosen(const Vector<FileChooserFileInfo>& paths, const
         m_fileListCreator = nullptr;
     });
 
-    if (icon)
+    if (icon && !m_fileList->isEmpty())
         iconLoaded(icon);
 }