Skip to content

Commit

Permalink
fix loading projects with missing setting keys
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias47n9e committed Jul 5, 2015
1 parent 2f5b935 commit 3374e0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion innstereo/plot_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,8 @@ def set_properties(self, new_props):
Loading a file will also set the plot properties to the saved state.
The properties are appllied to this plot.
"""
self.props = new_props
for key in new_props:
self.props[key] = new_props[key]

def get_highlight(self):
"""
Expand Down

0 comments on commit 3374e0f

Please sign in to comment.