mirror of
https://github.com/naruxde/revpicommander.git
synced 2025-12-29 05:18:03 +01:00
Replace widget search to widget dict (performance)
This commit is contained in:
@@ -16,7 +16,7 @@ from ui.revpioption_ui import Ui_diag_options
|
||||
class RevPiOption(QtWidgets.QDialog, Ui_diag_options):
|
||||
"""Set options of RevPiPyLoad."""
|
||||
|
||||
def __init__(self, parent):
|
||||
def __init__(self, parent=None):
|
||||
super(RevPiOption, self).__init__(parent)
|
||||
self.setupUi(self)
|
||||
self.setFixedSize(self.size())
|
||||
|
||||
Reference in New Issue
Block a user