mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 09:59:41 -06:00
Fix GBA file drag-and-drop when the system is off (#817)
This commit is contained in:
@ -1346,7 +1346,7 @@ void MainWindow::dragEnterEvent(QDragEnterEvent* event)
|
||||
QString filename = urls.at(0).toLocalFile();
|
||||
QString ext = filename.right(3);
|
||||
|
||||
if (ext == "nds" || ext == "srl" || ext == "dsi" || (ext == "gba" && RunningSomething))
|
||||
if (ext == "nds" || ext == "srl" || ext == "dsi" || ext == "gba")
|
||||
event->acceptProposedAction();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user