# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1381264010 25200 # Node ID 677a4172a8cbddeac8097a023d5ea4c5d899dacc # Parent cbf81b8d32390c42172e68aea5aff6c2500b33b0 [wouxun] Update experimental warning to use RadioPrompts. #1163
diff -r cbf81b8d3239 -r 677a4172a8cb chirp/wouxun.py --- a/chirp/wouxun.py Tue Oct 08 13:26:50 2013 -0700 +++ b/chirp/wouxun.py Tue Oct 08 13:26:50 2013 -0700 @@ -111,13 +111,15 @@ """
@classmethod - def get_experimental_warning(cls): - return ('This version of the Wouxun driver allows you to modify the ' + def get_prompts(cls): + rp = chirp_common.RadioPrompts() + rp.experimental = ('This version of the Wouxun driver allows you to modify the ' 'frequency range settings of your radio. This has been tested ' 'and reports from other users indicate that it is a safe ' 'thing to do. However, modifications to this value may have ' 'unintended consequences, including damage to your device. ' 'You have been warned. Proceed at your own risk!') + return rp
@classmethod def _get_querymodel(cls):