Tools -> Options: changing contents to `expanded` fails if there is no explorer.conf

Bug #411304 reported by Alexander Belchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Fix Released
Undecided
Ian Clatworthy

Bug Description

To reproduce: ensure you have no ~/.bazaar/explorer/explorer.conf, run explorer, launch Tools -> Options dialog, change Contents from default to expanded. I've got the traceback (on win32):

bzr: ERROR: exceptions.KeyError: 'toolbar-style'

Traceback (most recent call last):
  File "C:\work\Bazaar\plugins\explorer\lib\explorer_preferences.py", line 152, in combo_changed
  File "C:\work\Bazaar\plugins\explorer\lib\explorer.py", line 572, in _preference_changed
  File "C:\work\Bazaar\plugins\explorer\lib\explorer.py", line 591, in _apply_toolbar_contents
KeyError: 'toolbar-style'

Changed in bzr-explorer:
assignee: nobody → Ian Clatworthy (ian-clatworthy)
milestone: none → 0.6
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.