mirror of https://github.com/WerWolv/ImHex.git
fix: Opening multiple files by dragging them onto the window
This commit is contained in:
parent
b29d184488
commit
7f0bdea212
|
@ -636,9 +636,6 @@ namespace hex {
|
||||||
});
|
});
|
||||||
|
|
||||||
glfwSetDropCallback(this->m_window, [](GLFWwindow *, int count, const char **paths) {
|
glfwSetDropCallback(this->m_window, [](GLFWwindow *, int count, const char **paths) {
|
||||||
if (count != 1)
|
|
||||||
return;
|
|
||||||
|
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) {
|
||||||
auto path = std::fs::path(reinterpret_cast<const char8_t *>(paths[i]));
|
auto path = std::fs::path(reinterpret_cast<const char8_t *>(paths[i]));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue