75 def accept(self): |
75 def accept(self): |
76 """ |
76 """ |
77 Public slot accepting the dialog. |
77 Public slot accepting the dialog. |
78 """ |
78 """ |
79 if self.rememberCheckBox.isChecked(): |
79 if self.rememberCheckBox.isChecked(): |
80 Preferences.setMicroPython("WifiName", self.ssidEdit.text()) |
80 Preferences.setMicroPython("WifiName", self.ssidEdit.text()) |
81 Preferences.setMicroPython("WifiPassword", self.passwordEdit.text()) |
81 Preferences.setMicroPython("WifiPassword", self.passwordEdit.text()) |
82 |
82 |
83 super().accept() |
83 super().accept() |
84 |
84 |
85 def getConnectionParameters(self): |
85 def getConnectionParameters(self): |
86 """ |
86 """ |