aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2015-02-13 17:19:48 +0100
committerMartin Kaiser <wireshark@kaiser.cx>2015-02-17 21:16:44 +0000
commit47f27e3cc6ea730b1a5f1528e3eeaddf92ad3671 (patch)
tree983be43f21911f72ad745196bd9794c3fbc751b3
parentda620866878f5299daf041041120e4bd6c5d50ef (diff)
[Qt] don't clear the display filter when a capture file is closed
Bug: 10951 Change-Id: I958aa9e88c30ac20cd7d7971ee903ac97265c1f4 Reviewed-on: https://code.wireshark.org/review/7098 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Martin Kaiser <wireshark@kaiser.cx>
-rw-r--r--ui/qt/main_window_slots.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index 8463d8301c..709e6c6f44 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -614,12 +614,6 @@ void MainWindow::captureFileClosed() {
main_ui_->statusBar->popFileStatus();
- if (df_combo_box_)
- {
- df_combo_box_->lineEdit()->setText("");
- df_combo_box_->applyDisplayFilter();
- }
-
setTitlebarForSelectedTreeRow();
setMenusForSelectedTreeRow();
}