mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user