Compare commits

..

No commits in common. "c90aa0a742d0c8a3f6720875a8fb796cc6fc5aa1" and "b29d1844886ec70c796067ac5443855d87cbf566" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -636,6 +636,9 @@ 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<const char8_t *>(paths[i]));

View File

@ -520,9 +520,6 @@ namespace hex::plugin::builtin::ui {
auto sortSpecs = ImGui::TableGetSortSpecs();
if (patterns.empty())
sortedPatterns.clear();
if (!patterns.empty() && (sortSpecs->SpecsDirty || sortedPatterns.empty())) {
sortedPatterns.clear();
std::transform(patterns.begin(), patterns.end(), std::back_inserter(sortedPatterns), [](const std::shared_ptr<pl::ptrn::Pattern> &pattern) {