mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-08 17:19:04 +08:00
FIX:hide ip address
Change-Id: I24b17f8a540ee4730475dce2a6aa7c0c54dff9df
This commit is contained in:
parent
e9ce83898f
commit
23fae23b06
@ -5323,7 +5323,7 @@ bool GUI_App::show_modal_ip_address_enter_dialog(wxString title)
|
|||||||
auto ip_address = selection_data_arr[0];
|
auto ip_address = selection_data_arr[0];
|
||||||
auto access_code = selection_data_arr[1];
|
auto access_code = selection_data_arr[1];
|
||||||
|
|
||||||
BOOST_LOG_TRIVIAL(info) << "User enter IP address is " << ip_address;
|
BOOST_LOG_TRIVIAL(info) << "User enter IP address is " << format_IP(ip_address.ToStdString());
|
||||||
if (!ip_address.empty()) {
|
if (!ip_address.empty()) {
|
||||||
wxGetApp().app_config->set_str("ip_address", obj->dev_id, ip_address.ToStdString());
|
wxGetApp().app_config->set_str("ip_address", obj->dev_id, ip_address.ToStdString());
|
||||||
wxGetApp().app_config->save();
|
wxGetApp().app_config->save();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user