Disable drag drop
This commit is contained in:
@@ -1471,6 +1471,8 @@ void MainWindow::dragEnterEvent(QDragEnterEvent *event)
|
||||
|
||||
void MainWindow::dropEvent(QDropEvent *event)
|
||||
{
|
||||
if(GetCurrentFirmware()->getBoard()== BOARD_HORUS)
|
||||
return;
|
||||
QList<QUrl> urls = event->mimeData()->urls();
|
||||
if (urls.isEmpty())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user