From 8a19d8d1c776e93b76371e43040780e52813fdff Mon Sep 17 00:00:00 2001 From: Chuck Craft Date: Mon, 15 Nov 2021 10:59:28 -0600 Subject: cfilters/cli: -f "predef:..." needs cfilters loaded Restore early loading of cfilters file removed in e0ddc7ad. --- ui/qt/wireshark_application.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui') diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp index eb76ef4501..b8621939ad 100644 --- a/ui/qt/wireshark_application.cpp +++ b/ui/qt/wireshark_application.cpp @@ -1087,6 +1087,9 @@ _e_prefs *WiresharkApplication::readConfigurationFiles(bool reset) } #endif + /* Read the capture filter file. */ + read_filter_list(CFILTER_LIST); + return prefs_p; } -- cgit v1.2.3