We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a678f4 + b13b80c commit 1d573efCopy full SHA for 1d573ef
third_party/ImFileDialog/ImFileDialog.cpp
@@ -1072,7 +1072,7 @@ namespace ifd {
1072
std::error_code ec;
1073
ImGui::PushID(node);
1074
bool isClicked = false;
1075
- std::string displayName = u8StringToString(node->Path.stem().u8string());
+ std::string displayName = u8StringToString(node->Path.filename().u8string());
1076
if (displayName.size() == 0)
1077
displayName = u8StringToString(node->Path.u8string());
1078
if (FolderNode(displayName.c_str(), (ImTextureID)m_getIcon(node->Path), isClicked)) {
0 commit comments