5696: clicking the "home" icon should report if no default person has been set
svn: r19999
This commit is contained in:
parent
df36baafc8
commit
babbc8d031
@ -330,6 +330,10 @@ class NavigationView(PageView):
|
|||||||
defperson = self.dbstate.db.get_default_person()
|
defperson = self.dbstate.db.get_default_person()
|
||||||
if defperson:
|
if defperson:
|
||||||
self.change_active(defperson.get_handle())
|
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):
|
def jump(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user