diff --git a/src/spice2x/overlay/windows/config.cpp b/src/spice2x/overlay/windows/config.cpp index c23abf6..257a4b0 100644 --- a/src/spice2x/overlay/windows/config.cpp +++ b/src/spice2x/overlay/windows/config.cpp @@ -4872,12 +4872,24 @@ namespace overlay::windows { // check if empty if (options_count == 0) { ImGui::TableNextRow(); + + // option category + if (filter != nullptr) { + ImGui::TableNextColumn(); + ImGui::TextDisabled("-"); + } + + // name of option ImGui::TableNextColumn(); - ImGui::Indent(INDENT); - ImGui::TextDisabled("-"); - ImGui::Unindent(INDENT); - ImGui::TableNextColumn(); + if (filter == nullptr) { + ImGui::Indent(INDENT); + } ImGui::TextDisabled("-"); + if (filter == nullptr) { + ImGui::Unindent(INDENT); + } + + // widget ImGui::TableNextColumn(); ImGui::TextDisabled("-"); }