mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Disable drag drop
This commit is contained in:
parent
2ebd89159c
commit
fc4b43dfb1
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue