Visual glitch when editing keyboard shortcuts

Description

When I try to edit a shortcut, it visually returns to the previous value. Whoever, if I restart the application, I see it saved the changes I made.

To Reproduce…

Try to change any shortcut

Expected Behavior

The new key to stay on screen

Screenshots

Video:

Setup

  • OS and Version: Deepin 20 Beta
  • Mailspring Version: 1.7.6

(Originally posted by paulomanrique on GitHub.)