1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:57:44 +00:00

CrashReporter: Don't visualize whitespace in memory regions text editor

This was visible for memory regions with empty name.
This commit is contained in:
Maciej 2021-11-24 19:24:08 +01:00 committed by Andreas Kling
parent 905b8bd545
commit 700c76ba23

View file

@ -358,6 +358,7 @@ int main(int argc, char** argv)
memory_regions_text_editor.set_text(String::join("\n", memory_regions));
memory_regions_text_editor.set_mode(GUI::TextEditor::Mode::ReadOnly);
memory_regions_text_editor.set_should_hide_unnecessary_scrollbars(true);
memory_regions_text_editor.set_visualize_trailing_whitespace(false);
auto& close_button = *widget.find_descendant_of_type_named<GUI::Button>("close_button");
close_button.on_click = [&](auto) {