The filter string can only be valid, if an interface is selected.

Change-Id: I578f6b46d5e2631c6315eb0a8b6141ba93ee21bb
Reviewed-on: https://code.wireshark.org/review/1631
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
ruengeler 2014-05-14 12:07:49 +02:00 committed by Anders Broman
parent dcdd076ab0
commit 2828bf7777
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ void CaptureFilterSyntaxWorker::start() {
filter_text_ = QString();
data_mtx_.unlock();
if (global_capture_opts.all_ifaces->len < 1) {
if (global_capture_opts.num_selected < 1) {
emit syntaxResult(filter, false, QString("No interfaces selected"));
DEBUG_SYNTAX_CHECK("unknown", "no interfaces");
continue;