Skip to content

Commit

Permalink
fix to gui_fit
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerum committed Dec 19, 2024
1 parent ef2199e commit 0c3678a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saenopy/gui/material_fit/gui_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def setParams(self, params):
for obj in group:
self.layouts[i].removeWidget(obj)
for i in range(4):
if len(self.spacers):
if len(self.spacers) and self.spacers[i]:
self.layouts[i].removeWidget(self.spacers[i])
self.param_inputs = [[], [], [], []]

Expand Down

0 comments on commit 0c3678a

Please sign in to comment.