From 7f0bdea212325302b5eb01f0ef526c976966e472 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 10 Nov 2022 11:17:21 +0100 Subject: [PATCH] fix: Opening multiple files by dragging them onto the window --- main/source/window/window.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/main/source/window/window.cpp b/main/source/window/window.cpp index 2cdb50e6e..d6d06db17 100644 --- a/main/source/window/window.cpp +++ b/main/source/window/window.cpp @@ -636,9 +636,6 @@ namespace hex { }); glfwSetDropCallback(this->m_window, [](GLFWwindow *, int count, const char **paths) { - if (count != 1) - return; - for (int i = 0; i < count; i++) { auto path = std::fs::path(reinterpret_cast(paths[i]));