Applets/Keymap: Repaint applet on keymap change

This commit is contained in:
Lucas CHOLLET 2023-03-07 17:59:27 -05:00 committed by Andreas Kling
parent 4fd12b6b79
commit 7d6908d9a5
Notes: sideshowbarker 2024-07-16 23:08:48 +09:00

View file

@ -67,6 +67,7 @@ void KeymapStatusWidget::set_current_keymap(DeprecatedString const& keymap)
{ {
m_current_keymap = keymap; m_current_keymap = keymap;
set_tooltip(keymap); set_tooltip(keymap);
update();
} }
void KeymapStatusWidget::paint_event(GUI::PaintEvent& event) void KeymapStatusWidget::paint_event(GUI::PaintEvent& event)