新建有线网络 默认网关为非必填项

This commit is contained in:
zhangyuanyuan1 2023-03-16 10:14:14 +08:00
parent 5706d9765d
commit b8d73f687f
1 changed files with 4 additions and 4 deletions

View File

@ -160,10 +160,10 @@ bool CreatNetPage::checkConnectBtnIsEnabled()
return false;
}
if (gateWayEdit->text().isEmpty() || !getTextEditState(gateWayEdit->text())) {
qDebug() << "create ipv4 gateway empty or invalid";
return false;
}
// if (gateWayEdit->text().isEmpty() || !getTextEditState(gateWayEdit->text())) {
// qDebug() << "create ipv4 gateway empty or invalid";
// return false;
// }
if (firstDnsEdit->text().isEmpty() && !secondDnsEdit->text().isEmpty()) {
qDebug() << "create ipv4 dns sort invalid";