From aa682804aa0adf0603f6fef176d96a2390cd6cd4 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 17 Feb 2020 18:11:28 +0100 Subject: [PATCH] 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 --- src/extension.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/extension.js b/src/extension.js index 495af33..1e218c5 100644 --- a/src/extension.js +++ b/src/extension.js @@ -58,6 +58,8 @@ class PopupTeaMenuItem extends PopupMenu.PopupBaseMenuItem { }); } } + + this._delegate = this; } });