Skip to content

Commit

Permalink
Merge pull request #263 from psavery/materials-panel-update-enable-st…
Browse files Browse the repository at this point in the history
…ates

Update materials enable states after GUI update
  • Loading branch information
psavery authored Feb 20, 2020
2 parents fc8b829 + 0532e32 commit e0f7c77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hexrd/ui/materials_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ def __init__(self, parent=None):

self.update_gui_from_config()

self.update_enable_states()

def add_tool_button_actions(self):
b = self.ui.materials_tool_button

Expand Down Expand Up @@ -177,6 +175,7 @@ def update_gui_from_config(self):

self.update_material_limits()
self.update_table()
self.update_enable_states()

def update_material_limits(self):
# Display the backup if it is None
Expand Down

0 comments on commit e0f7c77

Please sign in to comment.