changeset 204:921e98f9aa87

Only update_entries if view is set Also don't set rows of the entry_list
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 05 Apr 2013 19:34:23 +0200
parents 1188998929bc
children a1b00ffea269
files getan/controller.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/getan/controller.py	Fri Apr 05 19:32:53 2013 +0200
+++ b/getan/controller.py	Fri Apr 05 19:34:23 2013 +0200
@@ -72,8 +72,8 @@
             entries = self.backend.load_entries(project.id)
         else:
             entries = []
-        self.entries_view.set_rows(entries)
-        self.view.update_view()
+        if self.view:
+            self.view.update_entries(entries)
 
     def move_selected_entries(self, project):
         old_project = None
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)