aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
diff options
context:
space:
mode:
authorSalanto <62221668+Salanto@users.noreply.github.com>2022-06-11 16:09:53 -0700
committerGitHub <noreply@github.com>2022-06-11 18:09:53 -0500
commitffcd783c10b6e3d37bacae3ac61f595938a50e27 (patch)
tree47d5526584d13a1e1e920b622c2bee8ad23175d7 /src/courtroom.cpp
parentb8a5deeaaeb17e639cb89a66fac1b5990b3480d3 (diff)
Add line limit to server chat and debug log panes (#784)
Set default maximum block size to 5,000 unless otherwise specified
Diffstat (limited to 'src/courtroom.cpp')
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 1c043789..516d3fc2 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -121,7 +121,7 @@ Courtroom::Courtroom(AOApplication *p_ao_app) : QMainWindow()
log_timestamp = ao_app->get_log_timestamp();
log_timestamp_format = ao_app->get_log_timestamp_format();
- ui_debug_log = new AOTextArea(this);
+ ui_debug_log = new AOTextArea(this, ao_app->get_max_log_size());
ui_debug_log->setReadOnly(true);
ui_debug_log->setOpenExternalLinks(true);
ui_debug_log->hide();