Skip to content

Commit

Permalink
Merge pull request #266 from ales-erjavec/remove-gui-spin-extra-box
Browse files Browse the repository at this point in the history
[FIX] gui.spinBox: Remove extraneous created widget box
  • Loading branch information
janezd authored Jan 24, 2024
2 parents a95602c + 499df3a commit f8c5e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orangewidget/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ def spin(widget, master, value, minv, maxv, step=1, box=None, label=None,
else:
b = widget
hasHBox = False
if not hasHBox and (checked or callback or posttext):
if not hasHBox and (checked or posttext):
bi = hBox(b, addToLayout=False)
else:
bi = b
Expand Down

0 comments on commit f8c5e4d

Please sign in to comment.