aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2020-07-02 21:52:35 +0300
committerCrystalwarrior <varsash@gmail.com>2020-07-02 21:52:35 +0300
commit19c3aa93fedcf9f1a6e64d4c97270c89b840d769 (patch)
treeca8b12676da4d58607ce510ffc82aa4e11ed7808
parent19d0c29b35cafc3d12209aa29fa4db5c8dbe930b (diff)
Some commit managed to regress the colors and it actually totally wasn't my fault!!!
Fix colors being broken
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 5080b1d6..ba16f8cf 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -4234,7 +4234,7 @@ void Courtroom::set_text_color_dropdown()
// Update markdown colors. TODO: make a loading function that only loads the
// config file once instead of several times
for (int c = 0; c < max_colors; ++c) {
- QColor color = ao_app->get_chat_color(QString::number(c), current_char);
+ QColor color = ao_app->get_chat_color("c" + QString::number(c), current_char);
color_rgb_list.append(color);
color_markdown_start_list.append(ao_app->get_chat_markdown(
"c" + QString::number(c) + "_start", current_char));