Qt: Fix loading of FilterExpression Dialog

Fix the loading of the FilterExpression Dialog

Change-Id: I553707df01932f06c50a3326e422fa0a3787de01
Reviewed-on: https://code.wireshark.org/review/35023
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
This commit is contained in:
Roland Knall 2019-11-07 16:10:17 +00:00
parent 59b5bff2d1
commit 16bb08de02
1 changed files with 3 additions and 1 deletions

View File

@ -93,7 +93,7 @@ DisplayFilterExpressionDialog::DisplayFilterExpressionDialog(QWidget *parent) :
// Trigger updateWidgets
ui->fieldTreeWidget->selectionModel()->clear();
QTimer::singleShot(0, this, SLOT(fillTree()));
fillTree();
}
DisplayFilterExpressionDialog::~DisplayFilterExpressionDialog()
@ -153,6 +153,8 @@ void DisplayFilterExpressionDialog::fillTree()
wsApp->processEvents(QEventLoop::ExcludeUserInputEvents | QEventLoop::ExcludeSocketNotifiers, 1);
ui->fieldTreeWidget->sortByColumn(0, Qt::AscendingOrder);
updateWidgets();
}
void DisplayFilterExpressionDialog::updateWidgets()