diff options
| author | Crystalwarrior <Varsash@Gmail.com> | 2022-06-04 06:26:32 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-03 22:26:32 -0500 |
| commit | d4e395627131befea60d19a35373582894eb17d3 (patch) | |
| tree | 5536ab0a6367cc867fab12b28a1c8e2e8f9db6e9 /src/charselect.cpp | |
| parent | c3a5bfb98a50396a75b29bb39c4b3eb25b1353c5 (diff) | |
improve placeholder text for IC and OOC (#753)
* improve placeholder text for IC and OOC
* Keep showname box placeholder at "showname" so as not to be confusing
* Apply my own suggestions
* Revert "Keep showname box placeholder at "showname" so as not to be confusing"
This reverts commit bad5507b9e4b9501d27b7b46e66c5e1cc2eb9859.
* Bring back showname for showname box
let "update_character" handle placeholder text properly
Fix spectator placeholder text not appearing if switching to spectator using /switch, etc.
* fix an oopsie
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
Diffstat (limited to 'src/charselect.cpp')
| -rw-r--r-- | src/charselect.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/charselect.cpp b/src/charselect.cpp index 7b9308a4..d57d7518 100644 --- a/src/charselect.cpp +++ b/src/charselect.cpp @@ -188,13 +188,6 @@ void Courtroom::char_clicked(int n_char) enter_courtroom(); set_courtroom_size(); } - - 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) |
