IPv6手动模式默认网关为非必填项
This commit is contained in:
parent
b8d73f687f
commit
757cd96da4
|
@ -253,7 +253,6 @@ void Ipv6Page::setControlEnabled(bool check)
|
||||||
} else {
|
} else {
|
||||||
ipv6AddressEdit->setPlaceholderText(tr("Required")); //必填
|
ipv6AddressEdit->setPlaceholderText(tr("Required")); //必填
|
||||||
lengthEdit->setPlaceholderText(tr("Required")); //必填
|
lengthEdit->setPlaceholderText(tr("Required")); //必填
|
||||||
gateWayEdit->setPlaceholderText(tr("Required")); //必填
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ipv6AddressEdit->setEnabled(check);
|
ipv6AddressEdit->setEnabled(check);
|
||||||
|
@ -313,10 +312,10 @@ bool Ipv6Page::checkConnectBtnIsEnabled()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gateWayEdit->text().isEmpty() || !getIpv6EditState(gateWayEdit->text())) {
|
// if (gateWayEdit->text().isEmpty() || !getIpv6EditState(gateWayEdit->text())) {
|
||||||
qDebug() << "ipv6 gateway empty or invalid";
|
// qDebug() << "ipv6 gateway empty or invalid";
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (firstDnsEdit->text().isEmpty() && !secondDnsEdit->text().isEmpty()) {
|
if (firstDnsEdit->text().isEmpty() && !secondDnsEdit->text().isEmpty()) {
|
||||||
qDebug() << "ipv6 dns sort invalid";
|
qDebug() << "ipv6 dns sort invalid";
|
||||||
|
|
Loading…
Reference in New Issue