mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Mac OS X: advanced options. offer to prefill system wifi PSK
Offer to prefill the wifi password of the system running Imager, like we do on Windows. Ask user first if that is desired, as it does cause OS X to generate a prompt asking for admin password.
This commit is contained in:
parent
b57da413a6
commit
e2296deb1a
2 changed files with 30 additions and 0 deletions
|
@ -438,6 +438,10 @@ Popup {
|
|||
fieldWifiPassword.text = imageWriter.getPSK(fieldWifiSSID.text)
|
||||
if (fieldWifiPassword.text.length) {
|
||||
chkShowPassword.checked = false
|
||||
if (Qt.platform.os == "osx") {
|
||||
/* User indicated wifi must be prefilled */
|
||||
chkWifi.checked = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue