Merge develop into main (#418)
- WiFi code cleanup - When WifiConnect opens and SSID is filled in, automatically focus on the password field - When no touch screen is present, toolbar close buttons should be automatically selected - When `device.py` selects a device, print it on screen
This commit is contained in:
committed by
GitHub
parent
a4f4784ed9
commit
eba1f8955a
@@ -192,6 +192,10 @@ void View::init(AppContext& app, lv_obj_t* parent) {
|
||||
std::string ssid;
|
||||
if (optSsidParameter(bundle, ssid)) {
|
||||
lv_textarea_set_text(ssid_textarea, ssid.c_str());
|
||||
|
||||
if (!ssid.empty()) {
|
||||
lv_group_focus_obj(password_textarea);
|
||||
}
|
||||
}
|
||||
|
||||
std::string password;
|
||||
|
||||
Reference in New Issue
Block a user