@@ -2588,7 +2588,9 @@ void IGFD::FileManager::DrawPathComposer(const FileDialogInternal& vFileDialogIn
25882588 }
25892589 }
25902590 }
2591- if (ImGui::IsItemHovered ()) ImGui::SetTooltip (buttonEditPathString);
2591+ if (ImGui::IsItemHovered ()) {
2592+ ImGui::SetTooltip (buttonEditPathString);
2593+ }
25922594
25932595 ImGui::SameLine ();
25942596
@@ -3808,8 +3810,7 @@ bool IGFD::FileDialog::Display(const std::string& vKey, ImGuiWindowFlags vFlags,
38083810 }
38093811#endif // IMGUI_HAS_VIEWPORT
38103812
3811- ImGuiID _frameId = ImGui::GetID (name.c_str ());
3812- if (ImGui::BeginChild (_frameId, frameSize, false , m_CurrentDisplayedFlags | ImGuiWindowFlags_NoScrollbar)) {
3813+ if (ImGui::BeginChild (" childContent" , frameSize, false , m_CurrentDisplayedFlags | ImGuiWindowFlags_NoScrollbar)) {
38133814 m_FileDialogInternal.name = name; // -V820
38143815 if (fdFile.dLGpath .empty ()) {
38153816 fdFile.dLGpath = " ." ; // defaut path is '.'
@@ -3918,7 +3919,7 @@ void IGFD::FileDialog::m_DrawContent() {
39183919 if (!(m_FileDialogInternal.getDialogConfig ().flags & ImGuiFileDialogFlags_DisablePlaceMode)) {
39193920 if (m_PlacesPaneShown) {
39203921 float otherWidth = size.x - m_PlacesPaneWidth;
3921- ImGui::PushID (" ## splitterplaces" );
3922+ ImGui::PushID (" splitterplaces" );
39223923 IGFD::Utils::ImSplitter (true , 4 .0f , &m_PlacesPaneWidth, &otherWidth, 10 .0f , 10 .0f + m_FileDialogInternal.getDialogConfig ().sidePaneWidth , size.y );
39233924 ImGui::PopID ();
39243925 size.x -= otherWidth;
@@ -3931,7 +3932,7 @@ void IGFD::FileDialog::m_DrawContent() {
39313932 size.x = ImGui::GetContentRegionAvail ().x - m_FileDialogInternal.getDialogConfig ().sidePaneWidth ;
39323933
39333934 if (m_FileDialogInternal.getDialogConfig ().sidePane ) {
3934- ImGui::PushID (" ## splittersidepane" );
3935+ ImGui::PushID (" splittersidepane" );
39353936 IGFD::Utils::ImSplitter (true , 4 .0f , &size.x , &m_FileDialogInternal.getDialogConfigRef ().sidePaneWidth , 10 .0f , 10 .0f , size.y );
39363937 ImGui::PopID ();
39373938 }
@@ -4236,8 +4237,8 @@ void IGFD::FileDialog::m_DrawFileListView(ImVec2 vSize) {
42364237 | ImGuiTableFlags_Sortable
42374238#endif // USE_CUSTOM_SORTING_ICON
42384239 ;
4239- auto listViewID = ImGui::GetID (" ##FileDialog_fileTable " );
4240- if (ImGui::BeginTableEx (" ##FileDialog_fileTable " , listViewID, 4 , flags, vSize, 0 .0f )) {
4240+ const auto listViewID = ImGui::GetID (" FileTable " );
4241+ if (ImGui::BeginTableEx (" FileTable " , listViewID, 4 , flags, vSize, 0 .0f )) {
42414242 ImGui::TableSetupScrollFreeze (0 , 1 ); // Make header always visible
42424243 ImGui::TableSetupColumn (fdi.headerFileName .c_str (), ImGuiTableColumnFlags_WidthStretch | (defaultSortOrderFilename ? ImGuiTableColumnFlags_PreferSortAscending : ImGuiTableColumnFlags_PreferSortDescending), -1 , 0 );
42434244 ImGui::TableSetupColumn (fdi.headerFileType .c_str (),
0 commit comments