aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2014-12-20 20:33:45 -0800
committerGerald Combs <gerald@wireshark.org>2014-12-21 04:52:12 +0000
commit14cff7b6e2865efe7229f9831939fd4d241ca10c (patch)
tree5cae833230ed4c76ab107f2e0eeec3b53cd691b3
parent35571f850ff7eeaa3e9940d0dc467cabbfbf13ac (diff)
Qt: Don't clear the capture file properties.
Don't clear the contents of the capture file properties dialog when the capture closes. Retaining the contents lets users compare the properties for multiple files. Change-Id: I6bf684e7bd996f22032ec3d0adcddc343bb17992 Reviewed-on: https://code.wireshark.org/review/5937 Reviewed-by: Gerald Combs <gerald@wireshark.org>
-rw-r--r--ui/qt/capture_file_properties_dialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/qt/capture_file_properties_dialog.cpp b/ui/qt/capture_file_properties_dialog.cpp
index 96816e8f94..ca9fed1965 100644
--- a/ui/qt/capture_file_properties_dialog.cpp
+++ b/ui/qt/capture_file_properties_dialog.cpp
@@ -98,8 +98,6 @@ void CaptureFilePropertiesDialog::updateWidgets()
if (refresh_bt) {
refresh_bt->setEnabled(false);
}
- ui->detailsTextEdit->clear();
- ui->commentsTextEdit->clear();
ui->commentsTextEdit->setReadOnly(true);
if (save_bt) {
save_bt->setEnabled(false);