No need to get surname list for a readonly db
svn: r15462
This commit is contained in:
parent
ed3c144a79
commit
67a82ed20c
@ -304,7 +304,7 @@ class EditPerson(EditPrimary):
|
|||||||
self.pname.set_surname,
|
self.pname.set_surname,
|
||||||
self.pname.get_surname,
|
self.pname.get_surname,
|
||||||
self.db.readonly,
|
self.db.readonly,
|
||||||
autolist=self.db.get_surname_list())
|
autolist=self.db.get_surname_list() if not self.db.readonly else [])
|
||||||
|
|
||||||
self.gid = widgets.MonitoredEntry(
|
self.gid = widgets.MonitoredEntry(
|
||||||
self.top.get_object("gid"),
|
self.top.get_object("gid"),
|
||||||
|
Loading…
Reference in New Issue
Block a user