Merge branch 'jxj' into 'dbus-interface'

FixBug:用户只输入ip和子网掩码可以保存进配置 BUGLINK:https://172.17.50.104/biz/bug-view-93906.html

See merge request kylin-desktop/kylin-nm!448
This commit is contained in:
ren peijia 2021-12-07 07:45:11 +00:00
commit c9bb7bf66e
1 changed files with 4 additions and 4 deletions

View File

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