Make ListView.change_entry always call its super.
[matthijs/upstream/mobilegtd.git] / src / gui / gui.py
index a8f217164e1d3b399dc6e63a683be89e814d2e0e..30ae4e2745bd6290ac47487bfdffca6d57c748f9 100644 (file)
@@ -152,7 +152,11 @@ class ListView(View):
         self.set_view(appuifw.Listbox(self.items(),self.change_entry))
 
     def change_entry(self):
-        pass
+        """
+        This function is called when the user selects an an entry (e.g.,
+        navigates to it and push the ok button).
+        """
+        super(ListView).change_entry()
     
     def update(self,subject=None):
         #logger.log(u'Updated %s'%repr(self))