[NETCFGX] Do not update the TCP/IP properties when the cancels the advanced properties dialog.

CORE-9908
This commit is contained in:
Eric Kohl 2019-06-10 20:27:45 +02:00
parent 72d229b38c
commit 8f285f71c9

View file

@ -2139,10 +2139,11 @@ LaunchAdvancedTcpipSettings(
pinfo.pfnCallback = PropSheetProc;
StoreTcpipBasicSettings(hwndDlg, This, FALSE);
PropertySheetW(&pinfo);
if (PropertySheetW(&pinfo) > 0)
{
InitializeTcpipBasicDlgCtrls(hwndDlg, This->pCurrentConfig);
PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
}
}
INT_PTR