Handle the status bar if the active_person is None

svn: r76
This commit is contained in:
Don Allingham 2001-06-01 04:35:59 +00:00
parent 02adfa2bfc
commit 3d7b30cbc5

View File

@ -1265,6 +1265,9 @@ def change_active_person(person):
#
#-------------------------------------------------------------------------
def modify_statusbar():
if active_person == None:
statusbar.set_status("")
else:
pname = Config.nameof(active_person)
if Config.status_bar == 1:
name = "[%s] %s" % (str(active_person.getId()),pname)