diff options
Diffstat (limited to 'src/courtroom.cpp')
| -rw-r--r-- | src/courtroom.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 04c625fe..c1a306ea 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -1525,6 +1525,8 @@ void Courtroom::on_chat_return_pressed() if ((anim_state < 3 || text_state < 2) && objection_state == 0) return; + ui_ic_chat_message->blockSignals(true); + QTimer::singleShot(600, this, SLOT(ratelimit_ic())); // MS# // deskmod# // pre-emote# @@ -4709,6 +4711,10 @@ void Courtroom::announce_case(QString title, bool def, bool pro, bool jud, } } +void Courtroom::ratelimit_ic() { + ui_ic_chat_message->blockSignals(false); +} + Courtroom::~Courtroom() { delete music_player; |
