AttorneyOnline / AO2-Client

An off-the-cuff courtroom drama simulator
https://aceattorneyonline.com
GNU General Public License v3.0
61 stars 58 forks source link

Effects dropdown is cleared on "ENTER" pressed, not on message sent and received #1042

Closed in1tiate closed 2 months ago

in1tiate commented 2 months ago

Describe the bug The effects dropdown is cleared on an "ENTER" keypress event instead of only resetting with the other widgets when a message is sent and received again by the client.

To reproduce Steps to reproduce the behavior:

  1. Select an effect (or press "Realization")
  2. Press enter to send a message while another message's stay_time has not yet elapsed, i.e. right after it is received
  3. See error

Expected behavior Realization button state is not cleared when this happens, so effects dropdown should not be cleared either

Version: