Skip to content

Commit

Permalink
Merge pull request OpenShot#2401 from ferdnyc/prefs-layout
Browse files Browse the repository at this point in the history
preferences: Tweak layout builder
  • Loading branch information
DylanC authored Nov 26, 2018
2 parents 2d2be08 + c816716 commit e8633bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/windows/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,9 @@ def __init__(self):
layout_hbox = QHBoxLayout()
layout_hbox.addWidget(label)
layout_hbox.addWidget(widget)
layout_hbox.addWidget(extraWidget)

if (extraWidget):
layout_hbox.addWidget(extraWidget)

# Add widget to layout
tabWidget.layout().addLayout(layout_hbox)
Expand Down

0 comments on commit e8633bf

Please sign in to comment.