mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
LibGUI: Set override cursor to none when widget is disabled
This commit is contained in:
parent
cf866cc75a
commit
0e63141a19
1 changed files with 3 additions and 0 deletions
|
@ -770,6 +770,9 @@ void Widget::set_enabled(bool enabled)
|
|||
window()->did_disable_focused_widget({});
|
||||
}
|
||||
|
||||
if (!m_enabled)
|
||||
set_override_cursor(Gfx::StandardCursor::None);
|
||||
|
||||
Event e(Event::EnabledChange);
|
||||
event(e);
|
||||
update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue