diff options
-rw-r--r-- | sugar/graphics/popupcontext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/graphics/popupcontext.py b/sugar/graphics/popupcontext.py index 99498e9..df4a9b3 100644 --- a/sugar/graphics/popupcontext.py +++ b/sugar/graphics/popupcontext.py @@ -30,7 +30,7 @@ class PopupContext(gobject.GObject): gobject.GObject.__init__(self) def popped_up(self, control): - if self._active_control: + if self._active_control and self._active_control != control: self._active_control.popdown() self._active_control = control self.emit('activated') |