Skip to content

Commit

Permalink
fix gui.dialog.SerialPortSettingDialog bug
Browse files Browse the repository at this point in the history
  • Loading branch information
amaork committed Jun 13, 2022
1 parent 5e1434b commit b506e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def __init__(self, settings: dict = SerialPortSettingWidget.DEFAULTS, parent: Op
:param settings: serial port settings
:param parent:
"""
settings = settings or self.DEFAULTS
settings = settings or SerialPortSettingWidget.DEFAULTS
super(SerialPortSettingDialog, self).__init__(parent)

layout = QVBoxLayout()
Expand Down

0 comments on commit b506e42

Please sign in to comment.