Skip to content

Commit

Permalink
Qt: Fix statusbar messages
Browse files Browse the repository at this point in the history
Commit 3c8c392 (https://code.wireshark.org/review/c/35071/) introduced
a regression where the messages in the status bar are no longer visible.
This change corrects that.

Change-Id: I23059a5013a65efe73454fc798048630a9e66792
Reviewed-on: https://code.wireshark.org/review/35085
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
  • Loading branch information
rknall committed Nov 13, 2019
1 parent c91bb19 commit 14690c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/qt/main_status_bar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@ void MainStatusBar::showCaptureStatistics()
if (packets_str.isEmpty()) {
packets_str = tr("No Packets");
}

popGenericStatus(STATUS_CTX_MAIN);
pushGenericStatus(STATUS_CTX_MAIN, packets_str);
}

void MainStatusBar::updateCaptureStatistics(capture_session *cap_session)
Expand Down

0 comments on commit 14690c8

Please sign in to comment.