fix: Crash when having path set in user folder settings page

This commit is contained in:
WerWolv 2024-05-19 21:41:18 +02:00
parent 62f5640678
commit bad37d0940
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ namespace hex::plugin::builtin {
bool draw(const std::string &) override {
bool result = false;
if (!ImGui::BeginListBox("", ImVec2(-40_scaled, 280_scaled))) {
if (!ImGui::BeginListBox("##UserFolders", ImVec2(-40_scaled, 280_scaled))) {
return false;
} else {
for (size_t n = 0; n < m_paths.size(); n++) {