aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2021-01-27 20:01:50 +0300
committerCrystalwarrior <varsash@gmail.com>2021-01-27 20:01:50 +0300
commit9ebc0f9b5438325cbec20ee41bd06b4033dc79da (patch)
tree4b2ad26723d87ea68894d1db1070904423daf5ab
parent1a3f500034fe794cff6ad418754bc29d7d3dc78c (diff)
Initialize blip_rate and blank_blip before the text message chat_tick is called instead of when reload_theme is pressed (more intuitive application of the settings)
-rw-r--r--src/courtroom.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 44fc3778..f9cbbf91 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -467,9 +467,6 @@ void Courtroom::set_pair_list()
void Courtroom::set_widgets()
{
- blip_rate = ao_app->read_blip_rate();
- blank_blip = ao_app->get_blank_blip();
-
QString filename = "courtroom_design.ini";
pos_size_type f_courtroom =
@@ -3232,6 +3229,8 @@ void Courtroom::start_chat_ticking()
tick_pos = 0;
blip_ticker = 0;
text_scrawl = ao_app->get_text_scrawl();
+ blip_rate = ao_app->read_blip_rate();
+ blank_blip = ao_app->get_blank_blip();
// At the start of every new message, we set the text speed to the default.
current_display_speed = 3;