mirror of https://github.com/WerWolv/ImHex.git
fix: Crash when having path set in user folder settings page
This commit is contained in:
parent
62f5640678
commit
bad37d0940
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue