Some commit managed to regress the colors and it actually totally wasn't my fault!!!

Fix colors being broken
This commit is contained in:
Crystalwarrior 2020-07-02 21:52:35 +03:00
parent 19d0c29b35
commit 19c3aa93fe

View File

@ -4234,7 +4234,7 @@ void Courtroom::set_text_color_dropdown()
// Update markdown colors. TODO: make a loading function that only loads the // Update markdown colors. TODO: make a loading function that only loads the
// config file once instead of several times // config file once instead of several times
for (int c = 0; c < max_colors; ++c) { 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_rgb_list.append(color);
color_markdown_start_list.append(ao_app->get_chat_markdown( color_markdown_start_list.append(ao_app->get_chat_markdown(
"c" + QString::number(c) + "_start", current_char)); "c" + QString::number(c) + "_start", current_char));