CID: Fix 1455321 null-reference
Fix a null dereference in DisplayFilterEdit Change-Id: I407e3d667ec8684312ba8fbcb0cc49130b9417df Reviewed-on: https://code.wireshark.org/review/35025 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org> Reviewed-on: https://code.wireshark.org/review/35033 Petri-Dish: Roland Knall <rknall@gmail.com> Reviewed-by: Roland Knall <rknall@gmail.com>
This commit is contained in:
parent
1b11115ca7
commit
2d47c2060b
|
@ -231,7 +231,7 @@ void DisplayFilterEdit::alignActionButtons()
|
|||
}
|
||||
}
|
||||
|
||||
if (clear_button_) {
|
||||
if (clear_button_ && apply_button_) {
|
||||
if ( ! leftAlignActions_ )
|
||||
{
|
||||
clear_button_->move(contentsRect().right() - frameWidth - cbsz.width() - apsz.width(),
|
||||
|
|
Loading…
Reference in New Issue