mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +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:
parent
905b8bd545
commit
700c76ba23
1 changed files with 1 additions and 0 deletions
|
@ -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_text(String::join("\n", memory_regions));
|
||||||
memory_regions_text_editor.set_mode(GUI::TextEditor::Mode::ReadOnly);
|
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_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");
|
auto& close_button = *widget.find_descendant_of_type_named<GUI::Button>("close_button");
|
||||||
close_button.on_click = [&](auto) {
|
close_button.on_click = [&](auto) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue