aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-12-21 10:28:03 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2014-12-21 09:48:49 +0000
commitda220672b299a402942db74bb212d50a62065d24 (patch)
treecfed8eeea7b150ce1a17a30dc19cb9560f57429d
parentfda12fb66d337322f8e5c52ca50eff30b2426d56 (diff)
Qt: keep "Copy to clipboard" button active when closing the capture_file_properties_dialog
As the Capture File Properties window content is kept once the capture is closed, allow to copy it Change-Id: I11466e102fcf75a31aaa22225861ad8bf27f89a8 Reviewed-on: https://code.wireshark.org/review/5942 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
-rw-r--r--ui/qt/capture_file_properties_dialog.cpp4
1 files changed, 0 insertions, 4 deletions
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;
}