- default fonts handled in windowstyle
[enigma2.git] / lib / gui / elistbox.cpp
index a3fae34c0687eb773fc5d1fc20626ffeca09f3ee..7764e6b5d503a9a19ecc4f621fac5ccae3c34c56 100644 (file)
@@ -130,8 +130,12 @@ int eListbox::event(int event, void *data, void *data2)
                return 0;
        }
        case evtAction:
-               moveSelection((int)data2);
-               return 1;
+               if (isVisible())
+               {
+                       moveSelection((int)data2);
+                       return 1;
+               }
+               break;
        default:
                return eWidget::event(event, data, data2);
        }
@@ -196,5 +200,4 @@ void eListbox::entryReset()
        m_top = 0;
        m_selected = 0;
        invalidate();
-       eDebug("inval!");
 }