aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/main_window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index b535dc40ef..086d8a5a4e 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -607,8 +607,8 @@ void MainWindow::dropEvent(QDropEvent *event)
foreach (QUrl drop_url, event->mimeData()->urls()) {
QString local_file = drop_url.toLocalFile();
if (!local_file.isEmpty()) {
- openCaptureFile(local_file);
event->acceptProposedAction();
+ openCaptureFile(local_file);
break;
}
}