small fix
[enigma2.git] / lib / python / Plugins / Extensions / GraphMultiEPG / plugin.py
index a247a618a0bfb7af09f0ed369017e4b3cc8e163c..7afbe14aa7e01bd75daa3897a265d9fc355bb863 100644 (file)
@@ -42,8 +42,8 @@ def cleanup():
 
 def closed(ret=False):
        closedScreen = dlg_stack.pop()
+       global bouquetSel
        if bouquetSel and closedScreen == bouquetSel:
-               global bouquetSel
                bouquetSel = None
        dlgs=len(dlg_stack)
        if ret and dlgs > 0: # recursive close wished