From babbc8d031cf19941c17c321698c69e1068e71a6 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sat, 14 Jul 2012 14:05:00 +0000 Subject: [PATCH] 5696: clicking the "home" icon should report if no default person has been set svn: r19999 --- src/gui/views/navigationview.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/views/navigationview.py b/src/gui/views/navigationview.py index 4b37968cd..1efdc4e8c 100644 --- a/src/gui/views/navigationview.py +++ b/src/gui/views/navigationview.py @@ -330,6 +330,10 @@ class NavigationView(PageView): defperson = self.dbstate.db.get_default_person() if defperson: self.change_active(defperson.get_handle()) + else: + from QuestionDialog import WarningDialog + WarningDialog(_("No Home Person"), + _("You need to set a 'default person' to go to.")) def jump(self): """