Skip to content

Commit

Permalink
better grouping and hiding of dtls packet settings
Browse files Browse the repository at this point in the history
  • Loading branch information
dannagle committed Oct 6, 2024
1 parent 3113451 commit 3e3d31e
Show file tree
Hide file tree
Showing 2 changed files with 194 additions and 205 deletions.
23 changes: 3 additions & 20 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,7 @@ MainWindow::MainWindow(QWidget *parent) :


if ( ui->udptcpComboBox->currentText().toLower() != "dtls"){
ui->leaveSessionOpen->hide();
ui->twoVerify->hide();
cipherCb->hide();
ui->CipherLable->hide();
ui->hostName->hide();
ui->dtlsFrame->hide();
}

connect(cipherCb, &QComboBox::editTextChanged, this, &MainWindow::on_cipherCb_currentIndexChanged);
Expand Down Expand Up @@ -2741,22 +2737,9 @@ void MainWindow::on_udptcpComboBox_currentIndexChanged(const QString &arg1)
/////////////////////////////////dtls add line edit for adding path for cert

if ( ui->udptcpComboBox->currentText().toLower() == "dtls") {
ui->leaveSessionOpen->show();
cipherCb->show();
ui->CipherLable->show();
ui->twoVerify->show();
ui->hostName->show();


ui->dtlsFrame->show();
} else {
ui->leaveSessionOpen->hide();
cipherCb->hide();
ui->CipherLable->hide();
ui->twoVerify->hide();
ui->hostName->hide();



ui->dtlsFrame->hide();
}


Expand Down
Loading

0 comments on commit 3e3d31e

Please sign in to comment.