mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-22 13:50:11 -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 filename = urls.at(0).toLocalFile();
|
||||||
QString ext = filename.right(3);
|
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();
|
event->acceptProposedAction();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user