Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 3, 2024
1 parent 02fc792 commit cba417d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/iminuit/qtwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,9 @@ def __init__(self):
button_layout.addWidget(self.reset_button)
self.algo_choice = QtWidgets.QComboBox(parent=button_group)
self.algo_choice.setEditable(True)
self.algo_choice.lineEdit().setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.algo_choice.lineEdit().setAlignment(
QtCore.Qt.AlignmentFlag.AlignCenter
)
self.algo_choice.lineEdit().setReadOnly(True)
self.algo_choice.addItems(["Migrad", "Scipy", "Simplex"])
button_layout.addWidget(self.algo_choice)
Expand Down

0 comments on commit cba417d

Please sign in to comment.