diff --git a/ui/qt/capture_file_properties_dialog.cpp b/ui/qt/capture_file_properties_dialog.cpp index ca9fed1965..b6bb0dd3ec 100644 --- a/ui/qt/capture_file_properties_dialog.cpp +++ b/ui/qt/capture_file_properties_dialog.cpp @@ -92,7 +92,6 @@ void CaptureFilePropertiesDialog::updateWidgets() { QPushButton *refresh_bt = ui->buttonBox->button(QDialogButtonBox::Reset); QPushButton *save_bt = ui->buttonBox->button(QDialogButtonBox::Save); - QPushButton *copy_bt = ui->buttonBox->button(QDialogButtonBox::Apply); if (!cap_file_) { if (refresh_bt) { @@ -102,9 +101,6 @@ void CaptureFilePropertiesDialog::updateWidgets() if (save_bt) { save_bt->setEnabled(false); } - if (copy_bt) { - copy_bt->setEnabled(false); - } return; }