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:
commit
c9bb7bf66e
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue