Qt: Refresh the display filter toolbar layout.

Force the display filter toolbar to update its layout when we recreate
our filter buttons. This ensures that we draw the overflow icon in
the right place.

Change-Id: Ibfb34b77d565e8db15bb2576249e0e3016993083
Reviewed-on: https://code.wireshark.org/review/15145
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2016-04-28 10:59:40 -07:00
parent fc5767418c
commit 7150588d23
1 changed files with 1 additions and 1 deletions

View File

@ -790,7 +790,7 @@ void MainWindow::filterExpressionsChanged()
filter_expression_toolbar_->addAction(dfb_action);
connect(dfb_action, SIGNAL(triggered()), this, SLOT(displayFilterButtonClicked()));
}
main_ui_->displayFilterToolBar->update();
main_ui_->displayFilterToolBar->adjustSize();
}
//