mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
fix: Crash when having path set in user folder settings page
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user