edited vlan before testing

This commit is contained in:
arcan1s 2014-03-02 16:47:04 +04:00
parent 8c9904ac4b
commit d0a39b6770

View File

@ -60,6 +60,7 @@ void GeneralWidget::clear()
ui->lineEdit_execUpPost->clear(); ui->lineEdit_execUpPost->clear();
ui->lineEdit_execDownPre->clear(); ui->lineEdit_execDownPre->clear();
ui->checkBox_forceConnect->setCheckState(Qt::Unchecked); ui->checkBox_forceConnect->setCheckState(Qt::Unchecked);
ui->checkBox_debug->setCheckState(Qt::Unchecked);
ui->pushButton_generalAdvanced->setChecked(false); ui->pushButton_generalAdvanced->setChecked(false);
showAdvanced(); showAdvanced();
@ -160,7 +161,8 @@ int GeneralWidget::isOk()
{ {
// bind interfaces is not set // bind interfaces is not set
if ((ui->comboBox_connection->currentText() == QString("bond")) || if ((ui->comboBox_connection->currentText() == QString("bond")) ||
(ui->comboBox_connection->currentText() == QString("bridge"))) (ui->comboBox_connection->currentText() == QString("bridge")) ||
(ui->comboBox_connection->currentText() == QString("vlan")))
if (ui->listWidget_bindto->count() == 0) if (ui->listWidget_bindto->count() == 0)
return 1; return 1;
// empty description // empty description