client: populate settings didn't update NetworkAutoDetect

This commit is contained in:
Martin Fleisz 2019-07-09 15:02:49 +02:00 committed by akallabeth
parent b80a26f82c
commit c2fa671dda

View File

@ -1085,6 +1085,13 @@ BOOL freerdp_client_populate_settings_from_rdp_file(rdpFile* file, rdpSettings*
return FALSE; return FALSE;
} }
if (~file->NetworkAutoDetect)
{
if (!freerdp_settings_set_bool(settings, FreeRDP_NetworkAutoDetect,
file->NetworkAutoDetect))
return FALSE;
}
if (~file->AutoReconnectionEnabled) if (~file->AutoReconnectionEnabled)
{ {
if (!freerdp_settings_set_bool(settings, FreeRDP_AutoReconnectionEnabled, if (!freerdp_settings_set_bool(settings, FreeRDP_AutoReconnectionEnabled,