Fix Family Lines/Family Colors picker for bad transient parent (#625)

Fixes #10623
This commit is contained in:
Paul Culley 2018-06-09 23:48:51 -05:00 committed by Sam Manzi
parent 94bd8470d7
commit 25841f9540

View File

@ -101,7 +101,7 @@ class LastNameDialog(ManagedWindow):
Gtk.PolicyType.AUTOMATIC) Gtk.PolicyType.AUTOMATIC)
scrolled_window.set_shadow_type(Gtk.ShadowType.OUT) scrolled_window.set_shadow_type(Gtk.ShadowType.OUT)
self.__dlg.vbox.pack_start(scrolled_window, True, True, 0) self.__dlg.vbox.pack_start(scrolled_window, True, True, 0)
scrolled_window.show_all() self.show()
if len(surnames) == 0: if len(surnames) == 0:
# we could use database.get_surname_list(), but if we do that # we could use database.get_surname_list(), but if we do that