summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/python/cglimpse/panel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/python/cglimpse/panel.py b/plugins/python/cglimpse/panel.py
index 2fd3c7f..2245e3a 100644
--- a/plugins/python/cglimpse/panel.py
+++ b/plugins/python/cglimpse/panel.py
@@ -44,7 +44,7 @@ class CGlimpsePanel(PanelItem, UpdatablePanel):
def _change_content(self, old, new):
"""Get notified about a LoadedContent change."""
- self._content = new.content
+ self._content = new.content if new else None
combo = self._builder.get_object('method_sel')
self._on_method_changed(combo)