just checked that during set_memory():
1. as previously mentioned, mem.extra is empty list when called from from main edit table view. type(mem.extra) = <type 'list'> and print mem.extra is "[]"
2. when it is called through edit panel:
type(mem.extra) is <class 'chirp.settings.RadioSettingGroup'>
type(mem.extra["display"]) is <class 'chirp.settings.RadioSetting'>
print mem.extra["display"] yields display:Frequency. I assume RadioSetting and RadioSettingsGroup classes here are overriding various methods to get type coercion.
When I tested it, it appears to be doing what is expected.
mem.extra being empty list when called from main edit table is not expected behavior, but I think my logic is accommodating that.
From: Dan Smith <dsmith@danplanet.com>
To: chirp_devel@intrepid.danplanet.com
Sent: Saturday, January 31, 2015 10:16 AM
Subject: Re: [chirp_devel] [PATCH] [th9800] change name/freq display behavior to be automatic #1353