Bug #667

Hide Unused Fields doesn't work when no Radios are open

Added by Tom Hayward over 4 years ago. Updated over 4 years ago.

Status:Closed Start date:03/05/2013
Priority:Normal Due date:
Assignee:Tom Hayward % Done:

100%

Category:-
Target version:0.3.1
Chirp Version:daily Platform:All
Model affected:(All models)

Description

When no Radio tabs are open, select View > Hide Unused Fields. The box will check, and an error printed to the debug.log. Now open a Radio. All fields are displayed even though the Hide Unused Fields feature is checked. Toggle it off and back on and the fields are hidden.

Here's the log:

Traceback (most recent call last):
  File "/home/tom/src/chirp.hg/chirpui/mainapp.py", line 1345, in mh
    self.do_hide_unused(_action)
  File "/home/tom/src/chirp.hg/chirpui/mainapp.py", line 1214, in do_hide_unused
    eset.editors["memedit"].set_hide_unused(action.get_active())
AttributeError: 'NoneType' object has no attribute 'editors'

Associated revisions

Revision 1927:443ea98c0840
Added by Tom Hayward over 4 years ago

Fix Hide Unused Fields toggle when no Radio is open. #667

Revision 1967:6bbdc44dc303
Added by Tom Hayward over 4 years ago

Fix Hide Unused Fields toggle when no Radio is open. #667

History

Updated by Tom Hayward over 4 years ago

  • Status changed from In Progress to Needs Backport
  • % Done changed from 0 to 100

Updated by Dan Smith over 4 years ago

  • Status changed from Needs Backport to Closed

Also available in: Atom PDF