GUI: Handle all PUP files in drag-and-drop

This commit is contained in:
Eladash 2021-03-13 07:51:35 +02:00 committed by Megamouse
parent d1e07434a1
commit bdf6a1c70e

View file

@ -2549,7 +2549,7 @@ main_window::drop_type main_window::IsValidFile(const QMimeData& md, QStringList
drop_type = drop_type::drop_dir; drop_type = drop_type::drop_dir;
} }
else if (info.fileName() == "PS3UPDAT.PUP") else if (info.suffix() == "PUP")
{ {
if (list.size() != 1) if (list.size() != 1)
{ {