diff options
| author | Crystalwarrior <Varsash@Gmail.com> | 2022-03-25 16:01:57 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-25 16:01:57 +0300 |
| commit | 7bb7889923089127953dd335490d4684d281ef3d (patch) | |
| tree | 2bc64c6d4f5df30e2cec63fed3319a4a7cdf1773 /src/charselect.cpp | |
| parent | ca83573d1bb7c7c80e6478de78eea14e108389d7 (diff) | |
Add timestamp colors you can change in courtroom_fonts.ini (#698)
* Add ic_chatlog_timestamp_color and ic_chatlog_selftimestamp_color to courtroom_fonts.ini
* clang tidy. clang stronk.
Diffstat (limited to 'src/charselect.cpp')
| -rw-r--r-- | src/charselect.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/charselect.cpp b/src/charselect.cpp index dce675a5..7b9308a4 100644 --- a/src/charselect.cpp +++ b/src/charselect.cpp @@ -189,8 +189,12 @@ void Courtroom::char_clicked(int n_char) set_courtroom_size(); } - if (n_char != -1) + if (n_char != -1) { ui_ic_chat_name->setPlaceholderText(char_list.at(n_char).name); + } + else { + ui_ic_chat_name->setPlaceholderText("Spectator"); + } } void Courtroom::put_button_in_place(int starting, int chars_on_this_page) |
