mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 19:38:12 +00:00
Inspector: Make the window icon show up for Window objects again
This broke in the GWindow => GUI::Window rename.
This commit is contained in:
parent
849fdc1c0b
commit
41c4e661e5
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ GUI::Variant RemoteObjectGraphModel::data(const GUI::ModelIndex& index, Role rol
|
|||
{
|
||||
auto* remote_object = static_cast<RemoteObject*>(index.internal_data());
|
||||
if (role == Role::Icon) {
|
||||
if (remote_object->class_name == "GWindow")
|
||||
if (remote_object->class_name == "Window")
|
||||
return m_window_icon;
|
||||
return m_object_icon;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue