Skip to content

Commit

Permalink
Merge pull request #2137 from oliver-sanders/edit-page-bug
Browse files Browse the repository at this point in the history
Fix config edit traceback on page menu.
  • Loading branch information
sadielbartholomew authored Jan 25, 2018
2 parents 2885eef + 243e4c1 commit 9354464
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/python/rose/config_editor/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,8 @@ def _add_var_from_item(item):
for variable in ghost_list:
named_item = uimanager.get_widget(
'/Popup/Add meta/' + variable.metadata['id'])
if not named_item:
return None
named_item.var_id = variable.metadata['id']
tooltip_text = ""
description = variable.metadata.get(rose.META_PROP_DESCRIPTION)
Expand Down

0 comments on commit 9354464

Please sign in to comment.