From c17fe46e769878de97303f11a990809f27e8212b Mon Sep 17 00:00:00 2001 From: Cerapter Date: Mon, 24 Sep 2018 22:00:16 +0200 Subject: [PATCH] Added the ability to change the showname's colour. --- courtroom.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/courtroom.cpp b/courtroom.cpp index b8b5e5a..3323b6f 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -1369,6 +1369,8 @@ void Courtroom::handle_chatmessage_2() ui_vp_chatbox->set_image_from_path(chatbox_path); } + ui_vp_showname->setStyleSheet("QLabel { color : " + get_text_color("_showname").name() + "; }"); + set_scene(); set_text_color();