diff options
| author | David Skoland <davidskoland@gmail.com> | 2017-02-14 14:34:44 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2017-02-14 14:34:44 +0100 |
| commit | 9e5598cbedde4eda5fc3e4bf3efda08da939056c (patch) | |
| tree | a5e2f823a931d43cff06d7b797158eae2180451f /courtroom.cpp | |
| parent | bc2f15e4f133da5db723f08935cffb4373adef2a (diff) | |
fixed a bug where yellow text would not work
Diffstat (limited to 'courtroom.cpp')
| -rw-r--r-- | courtroom.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/courtroom.cpp b/courtroom.cpp index b60a6e6e..9a67bb94 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -910,7 +910,7 @@ void Courtroom::on_chat_return_pressed() if (text_color < 0) f_text_color = "0"; - else if (text_color > 4 && !ao_app->ao2_features) + else if (text_color > 4 && !ao_app->yellow_text_enabled) f_text_color = "0"; else f_text_color = QString::number(text_color); @@ -1341,6 +1341,7 @@ void Courtroom::set_text_color() case YELLOW: ui_vp_message->setStyleSheet("background-color: rgba(0, 0, 0, 0);" "color: yellow"); + break; default: qDebug() << "W: undefined text color: " << m_chatmessage[TEXT_COLOR]; case WHITE: |
