Skip to content

Commit

Permalink
crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nem0 committed Sep 9, 2023
1 parent 735a417 commit d6d295b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/editor/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1775,6 +1775,7 @@ bool DirSelector::gui(const char* label, bool* open) {
if (ImGui::Selectable(subdir.c_str(), false, ImGuiSelectableFlags_DontClosePopups)) {
m_current_dir.append("/", subdir.c_str());
fillSubitems();
break;
}
}
}
Expand Down Expand Up @@ -1839,6 +1840,7 @@ bool FileSelector::gui(bool show_breadcrumbs, const char* accepted_extension) {
m_current_dir.append("/", subdir.c_str());
fillSubitems();
changed = true;
break;
}
}

Expand Down

0 comments on commit d6d295b

Please sign in to comment.