Fix 'reference to undefined property "_delegate"' warning

Set _delegate (used for DnD) even though we do not enable DnD, this fixes
a couple of 'reference to undefined property "_delegate"' warnings getting
logged.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Hans de Goede 2020-02-17 18:11:28 +01:00
parent f1e0d04631
commit aa682804aa

View File

@ -58,6 +58,8 @@ class PopupTeaMenuItem extends PopupMenu.PopupBaseMenuItem {
}); });
} }
} }
this._delegate = this;
} }
}); });