Bug8723: Missing [edit buttons] in relationship view (#391)
Shows edit-Buttons by default only if familytree is not readonly
This commit is contained in:
parent
6a35246e08
commit
bef4b309b6
@ -814,8 +814,8 @@ class RelationshipView(NavigationView):
|
||||
call_fcn = self.add_family
|
||||
del_fcn = self.delete_family
|
||||
|
||||
if not self.toolbar_visible and not self.dbstate.db.readonly:
|
||||
# Show edit-Buttons if toolbar is not visible
|
||||
if not self.dbstate.db.readonly:
|
||||
# Show edit-Buttons only if db is not readonly
|
||||
if self.reorder_sensitive:
|
||||
add = widgets.IconButton(self.reorder_button_press, None,
|
||||
'view-sort-ascending')
|
||||
|
Loading…
Reference in New Issue
Block a user